Skip to content

Commit 53095ed

Browse files
author
Theofilos Manitaras
committed
Address PR comments
1 parent fba9786 commit 53095ed

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

ci-scripts/dockerfiles/Lmod_base.dockerfile renamed to ci-scripts/dockerfiles/Lmod-base.dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ ENV TZ=Europe/Zurich
44
ENV DEBIAN_FRONTEND=noninteractive
55
ENV _LMOD_VER=8.4.12
66

7-
# ReFrame user
8-
RUN useradd -ms /bin/bash rfmuser
9-
107
# ReFrame requirements
118
RUN \
129
apt-get -y update && \
@@ -29,5 +26,3 @@ RUN \
2926
rm -rf /var/lib/apt/lists/*
3027

3128
ENV BASH_ENV=/usr/local/lmod/lmod/init/profile
32-
33-
USER rfmuser

ci-scripts/dockerfiles/Lmod.dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55

66
FROM 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
914
COPY --chown=rfmuser . /home/rfmuser/reframe/
1015

ci-scripts/dockerfiles/Lmod77_base.dockerfile renamed to ci-scripts/dockerfiles/Lmod77-base.dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ ENV TZ=Europe/Zurich
1010
ENV DEBIAN_FRONTEND=noninteractive
1111
ENV _LMOD_VER=7.7
1212

13-
# ReFrame user
14-
RUN useradd -ms /bin/bash rfmuser
15-
1613
# ReFrame requirements
1714
RUN \
1815
apt-get -y update && \
@@ -35,5 +32,3 @@ RUN \
3532
rm -rf /var/lib/apt/lists/*
3633

3734
ENV BASH_ENV=/usr/local/lmod/lmod/init/profile
38-
39-
USER rfmuser

ci-scripts/dockerfiles/Lmod77.dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55

66
FROM 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
914
COPY --chown=rfmuser . /home/rfmuser/reframe/
1015

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
FROM centos:7
22

3-
# ReFrame user
4-
RUN useradd -ms /bin/bash rfmuser
5-
63
# ReFrame requirements
74
RUN \
85
yum -y install gcc make git python3
@@ -11,5 +8,3 @@ RUN \
118
RUN yum -y install environment-modules && \
129
yum clean all && \
1310
rm -rf /var/cache/yum
14-
15-
USER rfmuser

ci-scripts/dockerfiles/Tmod32.dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
FROM 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
813
COPY --chown=rfmuser . /home/rfmuser/reframe/
914

ci-scripts/dockerfiles/Tmod4_base.dockerfile renamed to ci-scripts/dockerfiles/Tmod4-base.dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ ENV TZ=Europe/Zurich
44
ENV DEBIAN_FRONTEND=noninteractive
55
ENV _TMOD_VER=4.6.0
66

7-
# ReFrame user
8-
RUN useradd -ms /bin/bash rfmuser
9-
107
# ReFrame requirements
118
RUN \
129
apt-get -y update && \
@@ -29,5 +26,3 @@ RUN \
2926
rm -rf /var/lib/apt/lists/*
3027

3128
ENV BASH_ENV=/usr/local/Modules/init/profile.sh
32-
33-
USER rfmuser

ci-scripts/dockerfiles/Tmod4.dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
FROM 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
813
COPY --chown=rfmuser . /home/rfmuser/reframe/
914

0 commit comments

Comments
 (0)