mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-20 09:35:36 +02:00
026114ff37
Now the base phdf5 image is separated from the jf-live-writer build. This is to allow for debug images of jf-live-writer to be created without the need to go over the base image creation process.
19 lines
682 B
Docker
19 lines
682 B
Docker
FROM centos:centos7
|
|
|
|
RUN yum -y install centos-release-scl epel-release && \
|
|
yum -y update && \
|
|
yum -y install devtoolset-9 git cmake3 mpich-devel wget zeromq-devel
|
|
|
|
ENV PATH="/usr/lib64/mpich/bin:${PATH}"
|
|
ENV LD_LIBRARY_PATH="/usr/lib64/mpich/lib:${LD_LIBRARY_PATH}"
|
|
SHELL ["scl", "enable", "devtoolset-9"]
|
|
|
|
RUN wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.0/src/hdf5-1.12.0.tar.gz && \
|
|
tar -xzf hdf5-1.12.0.tar.gz
|
|
|
|
WORKDIR /hdf5-1.12.0
|
|
RUN ./configure --enable-parallel && make install
|
|
RUN ln -v -s `pwd`/hdf5/lib/* /usr/lib64/ && \
|
|
ln -v -s `pwd`/hdf5/include/* /usr/include/ && \
|
|
ln -v -s /usr/include/mpich-x86_64/* /usr/include/
|