File: Dockerfile

package info (click to toggle)
lmod 8.7.60-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,008 kB
  • sloc: sh: 6,266; makefile: 2,837; ansic: 1,513; tcl: 1,382; python: 1,050; csh: 112
file content (53 lines) | stat: -rw-r--r-- 1,294 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
FROM debian:12

# Optionally, add incoming to sources.list
#RUN echo 'deb http://incoming.debian.org/debian-buildd buildd-unstable main contrib non-free' > /etc/apt/sources.list.d/incoming.list

# Add deb-src to sources.list
RUN find /etc/apt/sources.list* -type f -exec sed -i 'p; s/^deb /deb-src /' '{}' +

# Install developer tools
RUN apt-get update \
 && apt-get install --no-install-recommends -yV \
    apt-utils \
    build-essential \
    devscripts \
    equivs \
    devscripts \
    autoconf \
    automake \
    autopoint \
    autotools-dev \
    debhelper \
    dh-autoreconf \
    dh-strip-nondeterminism \
    dwz \
    libdebhelper-perl \
    libfile-stripnondeterminism-perl \
    libsub-override-perl \
    libtool \
    po-debconf \
    quilt \
    tcl-dev \
    liblua5.3-dev \
    git \
    nano \
    lua-filesystem \
    lua-json \
    lua-posix \
    lua-term \
    lua5.3 \
    procps \
    bc
    

RUN mkdir /tmp/git-repo; cd /tmp/git-repo ; \
    git clone https://github.com/surak/Lmod.git ; \
    cd Lmod ; \
    git fetch --tags; \
    git checkout tags/8.7.34 ; \ 
    git checkout origin/debian debian docker ; \
    cd Lmod ; debuild -b -uc -us; \
    cd .. ; dpkg -i ./lmod_8.7.34_all.deb ; \ 
    bash -c "source /etc/profile.d/lmod.sh; module --version"