Skip to content
Closed
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
10 changes: 10 additions & 0 deletions docker/alma9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ RUN git clone https://gitlab.cern.ch/CLHEP/CLHEP.git --branch CLHEP_${CLHEP_VERS
&& cmake --build . --config RelWithDebInfo --target install -j$(nproc) \
&& rm -rf ../clhep_build

# Build HDF5 from source with C++ support
ARG HDF5_VERSION=1.14.6
RUN wget https://github.com/HDFGroup/hdf5/releases/download/hdf5_${HDF5_VERSION}/hdf5-${HDF5_VERSION}.tar.gz \
&& tar -xzf hdf5-${HDF5_VERSION}.tar.gz \
&& cd hdf5-${HDF5_VERSION} \
&& ./configure --prefix=/usr/local --enable-cxx \
&& make -j$(nproc) \
&& make install \
&& cd .. && rm -rf hdf5-${HDF5_VERSION} hdf5-${HDF5_VERSION}.tar.gz

# Install extra packages
COPY extra_packages.txt extra_packages.txt

Expand Down
10 changes: 10 additions & 0 deletions docker/ubuntu24/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ RUN git clone https://gitlab.cern.ch/CLHEP/CLHEP.git --branch CLHEP_${CLHEP_VERS
&& cmake --build . --config RelWithDebInfo --target install -j$(nproc) \
&& rm -rf ../clhep_build

# Build HDF5 from source with C++ support
ARG HDF5_VERSION=1.14.6
RUN wget https://github.com/HDFGroup/hdf5/releases/download/hdf5_${HDF5_VERSION}/hdf5-${HDF5_VERSION}.tar.gz \
&& tar -xzf hdf5-${HDF5_VERSION}.tar.gz \
&& cd hdf5-${HDF5_VERSION} \
&& ./configure --prefix=/usr/local --enable-cxx \
&& make -j$(nproc) \
&& make install \
&& cd .. && rm -rf hdf5-${HDF5_VERSION} hdf5-${HDF5_VERSION}.tar.gz

# Install extra packages
COPY extra_packages.txt extra_packages.txt

Expand Down
Loading