File: Dockerfile

package info (click to toggle)
bedops 2.4.35%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 33,916 kB
  • sloc: ansic: 25,592; cpp: 15,230; sh: 2,643; makefile: 2,152; xml: 1,669; python: 1,585; csh: 823; perl: 365; java: 172
file content (25 lines) | stat: -rw-r--r-- 785 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# see: https://wiki.debian.org/IntroDebianPackaging
FROM debian:jessie

RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y libc6-dev build-essential tcsh devscripts debhelper 
RUN apt-get clean

# copy the source context into the local image
#  note: make sure .dockerignore is up to date
ADD . /bedops

# populate base debian package tree
RUN mkdir /bedops_2.4.35
WORKDIR /bedops_2.4.35
RUN mkdir -p DEBIAN usr/bin usr/share/doc/bedops
RUN cp /bedops/LICENSE /bedops/README.md usr/share/doc/bedops
RUN cp /bedops/packaging/deb/control DEBIAN

# build and install bedops into debian package tree
WORKDIR /bedops
RUN make -j `nproc` && make install BINDIR=/bedops_2.4.35/usr/bin
WORKDIR /
RUN dpkg-deb --build bedops_2.4.35

# deb file should now be located in / directory