Skip to content

Commit

Permalink
storage: add xrootd to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ntarocco committed Oct 11, 2023
1 parent 8850140 commit c35c53c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,20 @@

FROM registry.cern.ch/inveniosoftware/almalinux:1

# XRootD
ARG xrootd_version="5.5.5"
# Repo required to find all the releases of XRootD
RUN dnf config-manager --add-repo https://cern.ch/xrootd/xrootd.repo
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"
# /XRootD

COPY site ./site
COPY legacy ./legacy
COPY Pipfile Pipfile.lock ./
RUN pipenv install --deploy --system --pre
RUN pip install invenio-xrootd">=2.0.0a1"

COPY ./docker/uwsgi/ ${INVENIO_INSTANCE_PATH}
COPY ./invenio.cfg ${INVENIO_INSTANCE_PATH}
Expand Down

0 comments on commit c35c53c

Please sign in to comment.