-
Notifications
You must be signed in to change notification settings - Fork 0
/
el8cvmfs.cont
44 lines (39 loc) · 2.35 KB
/
el8cvmfs.cont
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FROM gitlab-registry.cern.ch/linuxsupport/cs8-base
ADD http://repository.egi.eu/sw/production/cas/1/current/repo-files/EGI-trustanchors.repo /etc/yum.repos.d/
COPY alien-cas-master/alien-ca/ /etc/grid-security/certificates/
COPY etc_cvmfs /etc/cvmfs/
RUN \
mkdir -p /cvmfs /etc/cvmfs /var/lib/cvmfs && \
rpm --import http://repository.egi.eu/sw/production/cas/1/current/GPG-KEY-EUGridPMA-RPM-3 && \
yum install -y epel-release dnf-plugins-core && \
yum config-manager --set-enabled powertools && \
yum install -y \
https://linuxsoft.cern.ch/wlcg/centos8/x86_64/wlcg-repo-1.0.0-1.el8.noarch.rpm \
https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm && \
yum install -y \
ca-policy-egi-core ca-policy-lcg openssl openssl-devel openssl-perl \
bash-completion util-linux sudo curl environment-modules \
fuse fuse-libs fuse3 fuse3-libs bindfs \
scl-utils scl-utils-build \
python3 python3-libs python3-devel python3-pip python3-wheel python3-setuptools python3-rpm-macros \
pigz unzip make autoconf automake texinfo libtool bison flex which gcc-gfortran gcc-c++ swig rsync \
mariadb mariadb-devel curl curl-devel bzip2 bzip2-devel gettext gettext-devel freetype freetype-devel readline readline-devel \
libpng libpng-devel sqlite sqlite-devel ncurses ncurses-devel libxml2 libxml2-devel motif motif-devel tk tk-devel glfw glfw-devel \
mesa-libGLU-devel libX11-devel libXpm-devel libXext-devel libXft-devel libXi-devel libXinerama-devel libXcursor-devel libXrandr-devel \
rpm rpm-devel pciutils-devel perl-ExtUtils-Embed \
java-11-openjdk java-11-openjdk-devel java-11-openjdk-headless \
HEP_OSlibs && \
yum install -y --disablerepo=UMD* cvmfs cvmfs-fuse3 && \
yum -y update && \
yum -y clean all && \
rm -rf /var/cache/yum/* && \
/usr/bin/c_rehash /etc/grid-security/certificates/
SHELL ["/usr/bin/bash", "-c"]
ENTRYPOINT ["/usr/bin/bash", "-l"]
LABEL maintainer="Adrian.Sevcenco@spacescience.ro"
LABEL description="EL8 image to run HEP/CERN oriented software distributed through cvmfs"
# yum install -y http://repository.egi.eu/sw/production/umd/4/centos7/x86_64/updates/umd-release-4.1.3-1.el7.centos.noarch.rpm && \
# yum install -y cvmfs-x509-helper && \
# yum install -y https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo-1.9-1.x86_64.rpm && \
# yum install -y git hub git-subtree git-extras git-tools && \
# yum-config-manager --save --disable endpoint && \