Skip to content

Commit

Permalink
Dockerfile: use specific xrootd version
Browse files Browse the repository at this point in the history
* install xrootd repo via package manager
  • Loading branch information
kpsherva authored Oct 6, 2023
1 parent 7329efe commit 76b79a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN dnf update -y
# CRB (Code Ready Builder): equivalent repository to well-known CentOS PowerTools
RUN dnf install -y yum-utils
RUN dnf config-manager --set-enabled crb
# XrootD
RUN dnf config-manager --add-repo https://cern.ch/xrootd/xrootd.repo

# OpenLDAP
RUN dnf install -y openldap-devel
Expand All @@ -34,7 +36,7 @@ RUN mkdir -p $KEYTAB_PATH && chmod a+rw $KEYTAB_PATH

# todo: add standford package repo when available, epel-release provides only the latest
# xrootd release
ARG xrootd_version=""
ARG xrootd_version="5.5.5"
RUN if [ ! -z "$xrootd_version" ] ; then XROOTD_V="-$xrootd_version" ; else XROOTD_V="" ; fi && \
echo "Will install xrootd version: $XROOTD_V (latest if empty)" && \
dnf install -y xrootd"$XROOTD_V" python3-xrootd"$XROOTD_V"
Expand Down

0 comments on commit 76b79a4

Please sign in to comment.