Debian Codegraph @

debian/docker/Dockerfile

raw
1 FROM debian:11
2
3 # Optionally, add incoming to sources.list
4 #RUN echo 'deb http://incoming.debian.org/debian-buildd buildd-unstable main contrib non-free' > /etc/apt/sources.list.d/incoming.list
5
6 # Add deb-src to sources.list
7 RUN find /etc/apt/sources.list* -type f -exec sed -i 'p; s/^deb /deb-src /' '{}' +
8
9 # Install developer tools
10 RUN apt-get update \
11 && apt-get install --no-install-recommends -yV \
12 build-essential \
13 devscripts \
14 equivs \
15 devscripts \
16 autoconf \
17 automake \
18 autopoint \
19 autotools-dev \
20 debhelper \
21 dh-autoreconf \
22 dh-strip-nondeterminism \
23 dwz \
24 libdebhelper-perl \
25 libfile-stripnondeterminism-perl \
26 libsub-override-perl \
27 libtool \
28 po-debconf \
29 quilt \
30 tcl-dev \
31 liblua5.3-dev \
32 git \
33 nano \
34 lua-filesystem \
35 lua-json \
36 lua-posix \
37 lua-term \
38 lua5.3 \
39 procps
40
41
42 RUN mkdir /tmp/git-repo; cd /tmp/git-repo ; git clone https://github.com/surak/Lmod.git ; \
43 cd Lmod ; git checkout tags/8.6.5 ; \
44 git checkout master debian docker ; \
45 cd Lmod ; debuild -b -uc -us; \
46 cd .. ; dpkg -i ./lmod_8.6.5_all.deb ; \
47 bash -c "source /etc/profile.d/lmod.sh; module --version"
48