From 2502f4d7b636413b27e7de382b1fdfe631789583 Mon Sep 17 00:00:00 2001 From: kreczko Date: Thu, 21 Sep 2023 11:23:29 +0100 Subject: [PATCH] add xrootd repo and update to 5.6.2 --- Dockerfile | 6 ++++-- etc/yum.repos.d/xrootd-stable.repo | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 etc/yum.repos.d/xrootd-stable.repo diff --git a/Dockerfile b/Dockerfile index 8f9cd1f..ca68898 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,13 +36,15 @@ RUN yum update -y -q && \ # OSG default ID 10940 but we want 1094 (or 1000 for testing) ARG XROOTD_GID=1094 ARG XROOTD_UID=1094 -ARG XROOTD_VERSION="5.5.0-1.el7" +ARG XROOTD_VERSION="5.6.2-2.el7" RUN groupadd -o -g ${XROOTD_GID} xrootd RUN useradd -o -u ${XROOTD_UID} -g ${XROOTD_GID} -s /bin/sh xrootd +COPY ./etc/yum.repos.d/xrootd-stable.repo /etc/yum.repos.d/xrootd-stable.repo + RUN yum update -y -q \ - && yum install -q -y epel-release \ + && yum install -q -y epel-release https://repo.opensciencegrid.org/osg/3.6/osg-3.6-el7-release-latest.rpm \ && yum clean all \ && rm -fr /var/cache/yum RUN cat /etc/yum.repos.d/epel.repo diff --git a/etc/yum.repos.d/xrootd-stable.repo b/etc/yum.repos.d/xrootd-stable.repo new file mode 100644 index 0000000..14e5caa --- /dev/null +++ b/etc/yum.repos.d/xrootd-stable.repo @@ -0,0 +1,7 @@ +[xrootd-stable] +name=XRootD Stable repository +baseurl=https://xrootd.slac.stanford.edu/binaries/stable/slc/7/$basearch http://xrootd.cern.ch/sw/repos/stable/slc/7/$basearch +gpgcheck=1 +enabled=1 +protect=0 +gpgkey=http://xrootd.cern.ch/sw/releases/RPM-GPG-KEY.txt \ No newline at end of file