File tree Expand file tree Collapse file tree 8 files changed +104
-103
lines changed Expand file tree Collapse file tree 8 files changed +104
-103
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:20.04
2+
3+ ENV TZ=Europe/Zurich
4+ ENV DEBIAN_FRONTEND=noninteractive
5+ ENV _LMOD_VER=8.4.12
6+
7+ # ReFrame requirements
8+ RUN \
9+ apt-get -y update && \
10+ apt-get -y install ca-certificates && \
11+ update-ca-certificates && \
12+ apt-get -y install gcc make git python3 python3-pip
13+
14+ # Required utilities
15+ RUN apt-get -y install wget
16+
17+ # Install Lmod
18+ RUN \
19+ apt-get -y install lua5.3 lua-bit32:amd64 lua-posix:amd64 lua-posix-dev liblua5.3-0:amd64 liblua5.3-dev:amd64 tcl tcl-dev tcl8.6 tcl8.6-dev:amd64 libtcl8.6:amd64 && \
20+ wget -q https://github.com/TACC/Lmod/archive/${_LMOD_VER}.tar.gz -O lmod.tar.gz && \
21+ tar xzf lmod.tar.gz && \
22+ cd Lmod-${_LMOD_VER} && \
23+ ./configure && make install && \
24+ cd .. && rm -rf lmod.tar.gz Lmod-${_LMOD_VER} && \
25+ apt-get clean && \
26+ rm -rf /var/lib/apt/lists/*
27+
28+ ENV BASH_ENV=/usr/local/lmod/lmod/init/profile
Original file line number Diff line number Diff line change 22# Execute this from the top-level ReFrame source directory
33#
44
5- FROM ubuntu:20.04
65
7- ENV TZ=Europe/Zurich
8- ENV DEBIAN_FRONTEND=noninteractive
9- ENV _LMOD_VER=8.4.12
6+ FROM reframehpc/rfm-ci-base:lmod
107
118# ReFrame user
129RUN useradd -ms /bin/bash rfmuser
1310
14- # ReFrame requirements
15- RUN \
16- apt-get -y update && \
17- apt-get -y install ca-certificates && \
18- update-ca-certificates && \
19- apt-get -y install gcc && \
20- apt-get -y install make && \
21- apt-get -y install git && \
22- apt-get -y install python3 python3-pip
23-
24- # Required utilities
25- RUN apt-get -y install wget
26-
27- # Install Lmod
28- RUN \
29- apt-get -y install lua5.3 lua-bit32:amd64 lua-posix:amd64 lua-posix-dev liblua5.3-0:amd64 liblua5.3-dev:amd64 tcl tcl-dev tcl8.6 tcl8.6-dev:amd64 libtcl8.6:amd64 && \
30- wget -q https://github.com/TACC/Lmod/archive/${_LMOD_VER}.tar.gz -O lmod.tar.gz && \
31- tar xzf lmod.tar.gz && \
32- cd Lmod-${_LMOD_VER} && \
33- ./configure && make install
34-
35- ENV BASH_ENV=/usr/local/lmod/lmod/init/profile
36-
3711USER rfmuser
3812
3913# Install ReFrame from the current directory
Original file line number Diff line number Diff line change 1+ #
2+ # LMod versions prior to 8.2 emitted Python commands differently, so we use this
3+ # Dockerfile to test the bindings of older versions
4+ #
5+
6+
7+ FROM ubuntu:20.04
8+
9+ ENV TZ=Europe/Zurich
10+ ENV DEBIAN_FRONTEND=noninteractive
11+ ENV _LMOD_VER=7.7
12+
13+ # ReFrame requirements
14+ RUN \
15+ apt-get -y update && \
16+ apt-get -y install ca-certificates && \
17+ update-ca-certificates && \
18+ apt-get -y install gcc make git python3 python3-pip
19+
20+ # Required utilities
21+ RUN apt-get -y install wget
22+
23+ # Install Lmod
24+ RUN \
25+ apt-get -y install lua5.3 lua-bit32:amd64 lua-posix:amd64 lua-posix-dev liblua5.3-0:amd64 liblua5.3-dev:amd64 tcl tcl-dev tcl8.6 tcl8.6-dev:amd64 libtcl8.6:amd64 lua-filesystem:amd64 lua-filesystem-dev:amd64 && \
26+ wget -q https://github.com/TACC/Lmod/archive/${_LMOD_VER}.tar.gz -O lmod.tar.gz && \
27+ tar xzf lmod.tar.gz && \
28+ cd Lmod-${_LMOD_VER} && \
29+ ./configure && make install && \
30+ cd .. && rm -rf lmod.tar.gz Lmod-${_LMOD_VER} && \
31+ apt-get clean && \
32+ rm -rf /var/lib/apt/lists/*
33+
34+ ENV BASH_ENV=/usr/local/lmod/lmod/init/profile
Original file line number Diff line number Diff line change 22# Execute this from the top-level ReFrame source directory
33#
44
5- #
6- # LMod versions prior to 8.2 emitted Python commands differently, so we use this
7- # Dockerfile to test the bindings of older versions
8- #
9-
105
11- FROM ubuntu:20.04
12-
13- ENV TZ=Europe/Zurich
14- ENV DEBIAN_FRONTEND=noninteractive
15- ENV _LMOD_VER=7.7
6+ FROM reframehpc/rfm-ci-base:lmod77
167
178# ReFrame user
189RUN useradd -ms /bin/bash rfmuser
1910
20- # ReFrame requirements
21- RUN \
22- apt-get -y update && \
23- apt-get -y install ca-certificates && \
24- update-ca-certificates && \
25- apt-get -y install gcc && \
26- apt-get -y install make && \
27- apt-get -y install git && \
28- apt-get -y install python3 python3-pip
29-
30- # Required utilities
31- RUN apt-get -y install wget
32-
33- # Install Lmod
34- RUN \
35- apt-get -y install lua5.3 lua-bit32:amd64 lua-posix:amd64 lua-posix-dev liblua5.3-0:amd64 liblua5.3-dev:amd64 tcl tcl-dev tcl8.6 tcl8.6-dev:amd64 libtcl8.6:amd64 lua-filesystem:amd64 lua-filesystem-dev:amd64 && \
36- wget -q https://github.com/TACC/Lmod/archive/${_LMOD_VER}.tar.gz -O lmod.tar.gz && \
37- tar xzf lmod.tar.gz && \
38- cd Lmod-${_LMOD_VER} && \
39- ./configure && make install
40-
41- ENV BASH_ENV=/usr/local/lmod/lmod/init/profile
42-
4311USER rfmuser
4412
4513# Install ReFrame from the current directory
Original file line number Diff line number Diff line change 1+ FROM centos:7
2+
3+ # ReFrame requirements
4+ RUN \
5+ yum -y install gcc make git python3
6+
7+ # Install Tmod 3.2
8+ RUN yum -y install environment-modules && \
9+ yum clean all && \
10+ rm -rf /var/cache/yum
Original file line number Diff line number Diff line change 22# Execute this from the top-level ReFrame source directory
33#
44
5- FROM centos:7
5+ FROM reframehpc/rfm-ci-base:tmod32
66
77# ReFrame user
88RUN useradd -ms /bin/bash rfmuser
99
10- # ReFrame requirements
11- RUN \
12- yum -y install gcc && \
13- yum -y install make && \
14- yum -y install git && \
15- yum -y install python3
16-
17- # # Required utilities
18- # RUN apt-get -y install wget
19-
20- # Install Tmod 3.2
21- RUN yum -y install environment-modules
22-
2310USER rfmuser
2411
2512# Install ReFrame from the current directory
Original file line number Diff line number Diff line change 1+ FROM ubuntu:20.04
2+
3+ ENV TZ=Europe/Zurich
4+ ENV DEBIAN_FRONTEND=noninteractive
5+ ENV _TMOD_VER=4.6.0
6+
7+ # ReFrame requirements
8+ RUN \
9+ apt-get -y update && \
10+ apt-get -y install ca-certificates && \
11+ update-ca-certificates && \
12+ apt-get -y install gcc make git python3 python3-pip
13+
14+ # Required utilities
15+ RUN apt-get -y install wget
16+
17+ # Install Tmod4
18+ RUN \
19+ apt-get -y install autoconf tcl-dev && \
20+ wget -q https://github.com/cea-hpc/modules/archive/v${_TMOD_VER}.tar.gz -O tmod.tar.gz && \
21+ tar xzf tmod.tar.gz && \
22+ cd modules-${_TMOD_VER} && \
23+ ./configure && make install && \
24+ cd .. && rm -rf tmod.tar.gz modules-${_TMOD_VER} && \
25+ apt-get clean && \
26+ rm -rf /var/lib/apt/lists/*
27+
28+ ENV BASH_ENV=/usr/local/Modules/init/profile.sh
Original file line number Diff line number Diff line change 22# Execute this from the top-level ReFrame source directory
33#
44
5- FROM ubuntu:20.04
6-
7- ENV TZ=Europe/Zurich
8- ENV DEBIAN_FRONTEND=noninteractive
9- ENV _TMOD_VER=4.6.0
5+ FROM reframehpc/rfm-ci-base:tmod4
106
117# ReFrame user
128RUN useradd -ms /bin/bash rfmuser
139
14- # ReFrame requirements
15- RUN \
16- apt-get -y update && \
17- apt-get -y install ca-certificates && \
18- update-ca-certificates && \
19- apt-get -y install gcc && \
20- apt-get -y install make && \
21- apt-get -y install git && \
22- apt-get -y install python3 python3-pip
23-
24- # Required utilities
25- RUN apt-get -y install wget
26-
27- # Install Tmod4
28- RUN \
29- apt-get -y install autoconf && \
30- apt-get -y install tcl-dev && \
31- wget -q https://github.com/cea-hpc/modules/archive/v${_TMOD_VER}.tar.gz -O tmod.tar.gz && \
32- tar xzf tmod.tar.gz && \
33- cd modules-${_TMOD_VER} && \
34- ./configure && make install
35-
36- ENV BASH_ENV=/usr/local/Modules/init/profile.sh
37-
3810USER rfmuser
3911
4012# Install ReFrame from the current directory
You can’t perform that action at this time.
0 commit comments