Skip to content

Commit 07f3318

Browse files
committed
install cvmfs-config-eessi RPM directly in client containers, no need to download it first
1 parent 07ae977 commit 07f3318

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

containers/Dockerfile.EESSI-client-pilot-centos7

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ FROM docker.io/library/centos:7.8.2003
22

33
RUN yum install -y http://cvmrepo.web.cern.ch/cvmrepo/yum/cvmfs-release-latest.noarch.rpm \
44
&& yum install -y cvmfs cvmfs-config-default cvmfs-fuse3 sudo vim openssh-clients \
5-
&& curl -OL https://github.com/EESSI/filesystem-layer/releases/download/v0.2.1/cvmfs-config-eessi-0.2.1-1.noarch.rpm \
6-
&& yum install -y cvmfs-config-eessi-0.2.1-1.noarch.rpm
5+
&& yum install -y https://github.com/EESSI/filesystem-layer/releases/download/v0.2.1/cvmfs-config-eessi-0.2.1-1.noarch.rpm
76

87
RUN echo 'CVMFS_QUOTA_LIMIT=10000' > /etc/cvmfs/default.local \
98
&& echo 'CVMFS_HTTP_PROXY="DIRECT"' >> /etc/cvmfs/default.local
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM docker.io/arm64v8/centos:7
2+
3+
RUN yum install -y http://cvmrepo.web.cern.ch/cvmrepo/yum/cvmfs-release-latest.noarch.rpm \
4+
&& yum install -y cvmfs cvmfs-fuse3 --nogpgcheck \
5+
&& yum install -y cvmfs-config-default sudo vim openssh-clients \
6+
&& yum install -y https://github.com/EESSI/filesystem-layer/releases/download/v0.2.1/cvmfs-config-eessi-0.2.1-1.noarch.rpm
7+
8+
RUN echo 'CVMFS_QUOTA_LIMIT=10000' > /etc/cvmfs/default.local \
9+
&& echo 'CVMFS_HTTP_PROXY="DIRECT"' >> /etc/cvmfs/default.local
10+
11+
RUN mkdir -p /cvmfs/{cvmfs-config.eessi-hpc.org,pilot.eessi-hpc.org}
12+
13+
RUN useradd -ms /bin/bash eessi

0 commit comments

Comments
 (0)