-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'remove_config_repo' of github.com:bedroge/filesystem-la…
…yer into remove_config_repo
- Loading branch information
Showing
6 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM docker.io/ppc64le/centos:7 | ||
ARG cvmfsversion=2.8.0 | ||
ARG cvmfsconfig=https://github.com/EESSI/filesystem-layer/releases/download/v0.2.3/cvmfs-config-eessi-0.2.3-1.noarch.rpm | ||
|
||
RUN yum install -y sudo vim openssh-clients cmake wget make unzip patch valgrind bzip2 | ||
|
||
RUN yum install -y gcc gcc-c++ sqlite-devel python-devel libcap-devel libuuid-devel attr \ | ||
&& yum install -y fuse-devel fuse3-devel zlib-devel openssl-devel | ||
|
||
# build CernVM-FS from source (no aarch64 Debian packages available) | ||
RUN wget https://github.com/cvmfs/cvmfs/archive/cvmfs-${cvmfsversion}.tar.gz && \ | ||
tar xfz cvmfs-${cvmfsversion}.tar.gz && \ | ||
cd cvmfs*${cvmfsversion}/ && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake .. -DBUILD_SERVER=no -DBUILD_SERVER_DEBUG=no -DDBUILD_SHRINKWRAP=no && \ | ||
make -j $(nproc) && \ | ||
sudo make install && \ | ||
cd / && \ | ||
rm -r cvmfs*${cvmfsversion}* | ||
|
||
RUN yum install -y ${cvmfsconfig} | ||
|
||
RUN yum remove -y fuse && yum install -y fuse3 | ||
|
||
RUN echo 'CVMFS_QUOTA_LIMIT=10000' > /etc/cvmfs/default.local \ | ||
&& echo 'CVMFS_HTTP_PROXY="DIRECT"' >> /etc/cvmfs/default.local | ||
|
||
RUN mkdir -p /cvmfs/{cvmfs-config.eessi-hpc.org,pilot.eessi-hpc.org} | ||
|
||
RUN useradd -ms /bin/bash eessi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters