Skip to content

Commit ca2f5dc

Browse files
committed
update README, add 'openssh-clients' to client container for ssh command + use latest cvmfs-config-eessi RPM
1 parent 343f9ad commit ca2f5dc

File tree

5 files changed

+35
-12
lines changed

5 files changed

+35
-12
lines changed

containers/Dockerfile.EESSI-client-pilot-centos7-2020.08 renamed to containers/Dockerfile.EESSI-client-pilot-centos7-2020.09

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
FROM docker.io/library/centos:7.8.2003
22

3-
COPY cvmfs-config-eessi-0.1-1.noarch.rpm /root/cvmfs-config-eessi-0.1-1.noarch.rpm
4-
53
RUN yum install -y http://cvmrepo.web.cern.ch/cvmrepo/yum/cvmfs-release-latest.noarch.rpm \
6-
&& yum install -y cvmfs cvmfs-config-default cvmfs-fuse3 sudo vim \
7-
&& yum install -y /root/cvmfs-config-eessi-0.1-1.noarch.rpm
4+
&& 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
87

98
RUN echo 'CVMFS_QUOTA_LIMIT=10000' > /etc/cvmfs/default.local \
109
&& echo 'CVMFS_HTTP_PROXY="DIRECT"' >> /etc/cvmfs/default.local

containers/README

Lines changed: 0 additions & 5 deletions
This file was deleted.

containers/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Containers for EESSI
2+
3+
This directory contains recipes for containers that are useful in the scope of the EESSI project.
4+
5+
## Client container
6+
7+
Container to provide easy access to EESSI pilot repository,
8+
see https://hub.docker.com/repository/docker/eessi/client-pilot and https://eessi.github.io/docs/pilot .
9+
10+
### Build container
11+
12+
```shell
13+
export EESSI_PILOT_VERSION=2020.09
14+
docker build --no-cache -f Dockerfile.EESSI-client-pilot-centos7-${EESSI_PILOT_VERSION} -t eessi/client-pilot:centos7-${EESSI_PILOT_VERSION} .
15+
```
16+
17+
### Push to Docker Hub (requires credentials)
18+
19+
```
20+
docker push eessi/client-pilot:centos7-${EESSI_PILOT_VERSION}
21+
```
22+
23+
### Run (using Singularity)
24+
25+
```
26+
mkdir -p /tmp/$USER/{var-lib-cvmfs,var-run-cvmfs,home}
27+
export SINGULARITY_BIND="/tmp/$USER/var-run-cvmfs:/var/run/cvmfs,/tmp/$USER/var-lib-cvmfs:/var/lib/cvmfs"
28+
export SINGULARITY_HOME="/tmp/$USER/home:/home/$USER"
29+
export EESSI_CONFIG="container:cvmfs2 cvmfs-config.eessi-hpc.org /cvmfs/cvmfs-config.eessi-hpc.org"
30+
export EESSI_PILOT="container:cvmfs2 pilot.eessi-hpc.org /cvmfs/pilot.eessi-hpc.org"
31+
singularity shell --fusemount "$EESSI_CONFIG" --fusemount "$EESSI_PILOT" docker://eessi/client-pilot:centos7-${EESSI_PILOT_VERSION}
32+
```

containers/checksums.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

containers/docker_build_centos7.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)