Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: install cern ca fix #223 #224

Merged
merged 2 commits into from
Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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