File tree Expand file tree Collapse file tree 8 files changed +20
-20
lines changed Expand file tree Collapse file tree 8 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,6 @@ ENV TZ=Europe/Zurich
44ENV DEBIAN_FRONTEND=noninteractive
55ENV _LMOD_VER=8.4.12
66
7- # ReFrame user
8- RUN useradd -ms /bin/bash rfmuser
9-
107# ReFrame requirements
118RUN \
129 apt-get -y update && \
2926 rm -rf /var/lib/apt/lists/*
3027
3128ENV BASH_ENV=/usr/local/lmod/lmod/init/profile
32-
33- USER rfmuser
Original file line number Diff line number Diff line change 55
66FROM reframehpc/rfm-ci-base:lmod
77
8+ # ReFrame user
9+ RUN useradd -ms /bin/bash rfmuser
10+
11+ USER rfmuser
12+
813# Install ReFrame from the current directory
914COPY --chown=rfmuser . /home/rfmuser/reframe/
1015
Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ ENV TZ=Europe/Zurich
1010ENV DEBIAN_FRONTEND=noninteractive
1111ENV _LMOD_VER=7.7
1212
13- # ReFrame user
14- RUN useradd -ms /bin/bash rfmuser
15-
1613# ReFrame requirements
1714RUN \
1815 apt-get -y update && \
3532 rm -rf /var/lib/apt/lists/*
3633
3734ENV BASH_ENV=/usr/local/lmod/lmod/init/profile
38-
39- USER rfmuser
Original file line number Diff line number Diff line change 55
66FROM reframehpc/rfm-ci-base:lmod77
77
8+ # ReFrame user
9+ RUN useradd -ms /bin/bash rfmuser
10+
11+ USER rfmuser
12+
813# Install ReFrame from the current directory
914COPY --chown=rfmuser . /home/rfmuser/reframe/
1015
Original file line number Diff line number Diff line change 11FROM centos:7
22
3- # ReFrame user
4- RUN useradd -ms /bin/bash rfmuser
5-
63# ReFrame requirements
74RUN \
85 yum -y install gcc make git python3
118RUN yum -y install environment-modules && \
129 yum clean all && \
1310 rm -rf /var/cache/yum
14-
15- USER rfmuser
Original file line number Diff line number Diff line change 44
55FROM reframehpc/rfm-ci-base:tmod32
66
7+ # ReFrame user
8+ RUN useradd -ms /bin/bash rfmuser
9+
10+ USER rfmuser
11+
712# Install ReFrame from the current directory
813COPY --chown=rfmuser . /home/rfmuser/reframe/
914
Original file line number Diff line number Diff line change @@ -4,9 +4,6 @@ ENV TZ=Europe/Zurich
44ENV DEBIAN_FRONTEND=noninteractive
55ENV _TMOD_VER=4.6.0
66
7- # ReFrame user
8- RUN useradd -ms /bin/bash rfmuser
9-
107# ReFrame requirements
118RUN \
129 apt-get -y update && \
2926 rm -rf /var/lib/apt/lists/*
3027
3128ENV BASH_ENV=/usr/local/Modules/init/profile.sh
32-
33- USER rfmuser
Original file line number Diff line number Diff line change 44
55FROM reframehpc/rfm-ci-base:tmod4
66
7+ # ReFrame user
8+ RUN useradd -ms /bin/bash rfmuser
9+
10+ USER rfmuser
11+
712# Install ReFrame from the current directory
813COPY --chown=rfmuser . /home/rfmuser/reframe/
914
You can’t perform that action at this time.
0 commit comments