Skip to content

Commit

Permalink
Update images
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed May 24, 2024
1 parent 4f8b050 commit cae0423
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Docker/alma9/alma9-cvmfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN dnf install -y https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-

COPY mount.sh /mount.sh

CMD ["/bin/bash"]
CMD ["/bin/bash", "-c", "/mount.sh && /bin/bash"]
5 changes: 5 additions & 0 deletions Docker/alma9/alma9-cvmfs/mount.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
if mount | grep -q cvmfs; then
echo "CVMFS already mounted"
echo "/mount.sh does not need to be run anymore"
exit 0
fi
set -e
mount -t cvmfs cvmfs-config.cern.ch /cvmfs/cvmfs-config.cern.ch
mount -t cvmfs sw.hsf.org /cvmfs/sw.hsf.org
Expand Down
2 changes: 1 addition & 1 deletion Docker/centos7/centos7-cvmfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN yum install -y https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-

COPY mount.sh /mount.sh

CMD ["/bin/bash"]
CMD ["/bin/bash", "-c", "/mount.sh && /bin/bash"]
5 changes: 5 additions & 0 deletions Docker/centos7/centos7-cvmfs/mount.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
if mount | grep -q cvmfs; then
echo "CVMFS already mounted"
echo "/mount.sh does not need to be run anymore"
exit 0
fi
set -e
mount -t cvmfs cvmfs-config.cern.ch /cvmfs/cvmfs-config.cern.ch
mount -t cvmfs sw.hsf.org /cvmfs/sw.hsf.org
Expand Down
2 changes: 1 addition & 1 deletion Docker/ubuntu22/ubuntu22-cvmfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ RUN apt update && \

COPY mount.sh /mount.sh

CMD ["/bin/bash"]
CMD ["/bin/bash", "-c", "/mount.sh && /bin/bash"]
5 changes: 5 additions & 0 deletions Docker/ubuntu22/ubuntu22-cvmfs/mount.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
if mount | grep -q cvmfs; then
echo "CVMFS already mounted"
echo "/mount.sh does not need to be run anymore"
exit 0
fi
set -e
mount -t cvmfs cvmfs-config.cern.ch /cvmfs/cvmfs-config.cern.ch
mount -t cvmfs sw.hsf.org /cvmfs/sw.hsf.org
Expand Down

0 comments on commit cae0423

Please sign in to comment.