Skip to content
Snippets Groups Projects

Update to ROOT 6.30/08, Ubuntu 24.04, and XRootD 5.6.9

Merged Clemens Lange requested to merge v6-30-08 into master
Files
3
+ 5
28
FROM ubuntu:22.04
FROM ubuntu:24.04
LABEL maintainer.name="CMS Data Preservation and Open Access Group"
LABEL maintainer.email="cms-dpoa-coordinators@cern.ch"
@@ -6,8 +6,8 @@ LABEL maintainer.email="cms-dpoa-coordinators@cern.ch"
ENV LANG=C.UTF-8
ARG PLATFORM="linux/amd64"
ARG ROOT_VERSION_SCM=6.30.02
ARG TARGET_BRANCH=v6-30-02
ARG ROOT_VERSION_SCM=6.30.08
ARG TARGET_BRANCH=v6-30-08
ARG GIT_PROJECT_URL=https://github.com/root-project/root
@@ -35,31 +35,8 @@ RUN apt-get -qq -y update && \
ln --symbolic --force /bin/bash /bin/sh && \
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
# Add 0mq to /usr/local
# unfortunately, ZeroMQ doesn't have a release yet that contains the PPOLL feature that is needed for roofit parallelism
# the ROOT team for now uses tihs specific commit hash, so we do the same
ARG ZMQ_TAG=7c2df78b49a3aa63e654b3f3526adf71ed091534
# see: https://github.com/root-project/root/blob/8e9ee7f04a89156af4f9a142579e1d0c75ee398d/builtins/zeromq/libzmq/CMakeLists.txt#L17
WORKDIR /code
RUN git clone https://github.com/zeromq/libzmq.git 0mq && \
cd 0mq && git checkout "${ZMQ_TAG}" && cd - && \
cmake \
-DCMAKE_INSTALL_PREFIX=/code/local \
-S 0mq \
-B build \
&& cmake build -LH \
&& cmake \
--build build \
--clean-first \
--parallel $(($(nproc) - 1)) \
&& cmake --build build --target install \
&& cd / \
&& cp -r /code/local/* /usr/local/venv \
&& rm -rf /code
# Add XRootD under /usr/local
ARG XROOTD_TAG=v5.6.3
ARG XROOTD_TAG=v5.6.9
WORKDIR /code
RUN git clone --depth 1 https://github.com/xrootd/xrootd.git \
--branch "${XROOTD_TAG}" \
@@ -120,7 +97,7 @@ RUN echo /usr/local/venv/lib >> /etc/ld.so.conf \
RUN git clone --depth 1 --single-branch https://github.com/novnc/noVNC.git /usr/local/novnc
RUN groupadd -g 1000 cmsusr && adduser --uid 1000 --gid 1000 cmsusr --disabled-password && \
RUN groupadd -g 1001 cmsusr && adduser --uid 1001 --gid 1001 cmsusr --disabled-password && \
usermod -aG sudo cmsusr && \
chown -R cmsusr:cmsusr /usr/local/venv
Loading