File tree 3 files changed +25
-16
lines changed
3 files changed +25
-16
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,23 @@ FROM gitlab-registry.cern.ch/linuxsupport/alma9-base
3
3
# epel-release and parallel needed for the validation
4
4
# wget needed for some tests
5
5
RUN dnf update -y && \
6
- dnf groupinstall -y "Development Tools" && \
7
- dnf install -y vim gfortran wget python3-pip epel-release mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel krb5-devel && \
8
- dnf install -y parallel ccache mold && \
6
+ # dnf groupinstall -y "Development Tools" && \
7
+ dnf install -y \
8
+ # Needed for compiling
9
+ glibc-headers glibc-devel \
10
+ # Requirements
11
+ mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel krb5-devel \
12
+ # Tools
13
+ git patch vim wget epel-release \
14
+ # For fetching commits of packages
15
+ python3-requests python3-yaml && \
16
+ # For building and CI
17
+ dnf install -y ccache mold && \
18
+ dnf remove -y NetworkManager llvm-libs xorg-x11-fonts-ISO8859-1-100dpi dejavu-sans-fonts selinux-policy && \
19
+ # We don't need valgrind but mesa-libGL-devel depends on it
20
+ for pkg in valgrind valgrind-devel gl-manpages git-core-doc grub2-common grub2-efi-x64 grub2-tools-minimal emacs-filesystem systemd systemd-udev systemd-libs systemd-pam; do \
21
+ rpm -e --nodeps "$pkg" || true; \
22
+ done && \
9
23
dnf clean all
10
24
11
- RUN pip install boto3 requests
12
-
13
25
CMD ["/bin/bash" ]
Original file line number Diff line number Diff line change @@ -2,13 +2,15 @@ FROM alma9
2
2
3
3
RUN dnf install -y https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm && \
4
4
dnf install -y cvmfs && \
5
- mkdir /cvmfs/cvmfs-config.cern.ch /cvmfs/sw.hsf.org /cvmfs/sw-nightlies.hsf.org && \
6
5
echo "CVMFS_CONFIG_REPOSITORY=cvmfs-config.cern.ch" > /etc/cvmfs/default.local && \
7
6
echo "CVMFS_CLIENT_PROFILE=single" >> /etc/cvmfs/default.local && \
8
7
echo "CVMFS_QUOTA_LIMIT='15000'" >> /etc/cvmfs/default.local && \
9
8
echo "CVMFS_USE_CDN='yes'" >> /etc/cvmfs/default.local && \
9
+ cvmfs_config setup || true && \
10
10
dnf clean all
11
11
12
12
COPY mount.sh /mount.sh
13
+ RUN chmod +x /mount.sh
13
14
14
- CMD ["/bin/bash" , "-c" , "/mount.sh && /bin/bash" ]
15
+ ENTRYPOINT ["/mount.sh" ]
16
+ CMD ["/bin/bash" ]
Original file line number Diff line number Diff line change 1
- if mount | grep -q cvmfs; then
2
- echo " CVMFS already mounted"
3
- echo " /mount.sh does not need to be run anymore"
4
- exit 0
5
- fi
6
- set -e
7
- mount -t cvmfs cvmfs-config.cern.ch /cvmfs/cvmfs-config.cern.ch
8
- mount -t cvmfs sw.hsf.org /cvmfs/sw.hsf.org
9
- mount -t cvmfs sw-nightlies.hsf.org /cvmfs/sw-nightlies.hsf.org
1
+ #! /bin/bash
2
+ /usr/sbin/automount
3
+
4
+ exec " $@ "
You can’t perform that action at this time.
0 commit comments