Skip to content

Commit

Permalink
Merge pull request #224 from goseind/patch-223-add-cern-ca
Browse files Browse the repository at this point in the history
enhancement: install cern ca fix #223
  • Loading branch information
mlassnig authored Feb 2, 2023
2 parents dcaddd5 + 7666361 commit 1964298
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions xrootd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
FROM centos:7

# Install CERN CA
ADD ca.repo /etc/yum.repos.d/ca.repo

RUN yum install -y epel-release.noarch http://linuxsoft.cern.ch/wlcg/centos7/x86_64/wlcg-repo-1.0.0-1.el7.noarch.rpm && \
yum clean all && \
rm -rf /var/cache/yum

RUN yum update -y && \
yum upgrade -y && \
yum clean all && \
rm -rf /var/cache/yum

RUN yum -y install ca-certificates.noarch lcg-CA ca_* \
yum clean all && \
rm -rf /var/cache/yum

# Install XrootD
RUN yum install -y epel-release.noarch
RUN yum upgrade -y
Expand Down
6 changes: 6 additions & 0 deletions xrootd/ca.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[carepo]
name=IGTF CA Repository
baseurl=http://linuxsoft.cern.ch/mirror/repository.egi.eu/sw/production/cas/1/current/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-EUGridPMA-RPM-3

0 comments on commit 1964298

Please sign in to comment.