-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathDockerfile
46 lines (40 loc) · 1.75 KB
/
Dockerfile
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
45
46
FROM docker.io/cern/alma9-base:20240801-1
ARG DATE
ARG VERSION
COPY ca.repo /etc/yum.repos.d/ca.repo
COPY wlcg-el9.repo /etc/yum.repos.d/wlcg-el9.repo
COPY RPM-GPG-KEY-wlcg /etc/pki/rpm-gpg/RPM-GPG-KEY-wlcg
# hadolint ignore=DL3033
RUN yum install -y epel-release && \
yum clean all
# hadolint ignore=DL3033
RUN yum install -y \
ca-policy-egi-core \
gfal2-all \
python3-gfal2-util \
libffi-devel \
openssl-devel \
python-pip \
voms-clients-java \
wget \
wlcg-iam-lsc-alice \
wlcg-iam-lsc-atlas \
wlcg-iam-lsc-cms \
wlcg-iam-lsc-lhcb \
wlcg-iam-vomses-alice \
wlcg-iam-vomses-atlas \
wlcg-iam-vomses-cms \
wlcg-iam-vomses-lhcb && \
yum clean all
# Add support for ESCAPE VOMS
RUN wget -q https://indigo-iam.github.io/escape-docs/voms-config/voms-escape.cloud.cnaf.infn.it.vomses -O /etc/vomses/voms-escape.cloud.cnaf.infn.it.vomses
RUN mkdir -p /etc/grid-security/vomsdir/escape \
&& wget -q https://indigo-iam.github.io/escape-docs/voms-config/voms-escape.cloud.cnaf.infn.it.lsc -O /etc/grid-security/vomsdir/escape/voms-escape.cloud.cnaf.infn.it.lsc
LABEL org.opencontainers.image.created="${DATE}"
LABEL org.opencontainers.image.authors='[email protected]'
LABEL org.opencontainers.image.url='https://github.com/reanahub/reana-auth-vomsproxy'
LABEL org.opencontainers.image.documentation='https://github.com/reanahub/reana-auth-vomsproxy/blob/master/README.md'
LABEL org.opencontainers.image.version="${VERSION}"
LABEL org.opencontainers.image.vendor='reanahub'
LABEL org.opencontainers.image.title='Image to either set up VOMS proxy or optionally create it'
LABEL org.opencontainers.image.description='Requires either VOMS proxy file or a valid Grid certificate to create it'