This commit is contained in:
lhdamiani
2021-07-13 15:01:42 +02:00
3 changed files with 12 additions and 9 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
FROM paulscherrerinstitute/sf-daq_phdf5:1.0.0
FROM paulscherrerinstitute/sf-daq_phdf5:1.0.1
COPY . /sf_daq_buffer/
RUN mkdir /sf_daq_buffer/build && \
cd /sf_daq_buffer/build && \
# Build the project
cmake3 .. -DUSE_EIGER=1&& \
cmake3 .. -DUSE_EIGER=1 && \
make && \
# Deploy the test config.
cp /sf_daq_buffer/docker/example_detector.json .
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
VERSION=1.0.0
VERSION=1.0.1
docker build --no-cache=true -f phdf5.Dockerfile -t paulscherrerinstitute/sf-daq_phdf5 .
docker tag paulscherrerinstitute/sf-daq_phdf5 paulscherrerinstitute/sf-daq_phdf5:$VERSION
+9 -6
View File
@@ -9,10 +9,13 @@ 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/ && \
tar -xzf hdf5-1.12.0.tar.gz && \
cd /hdf5-1.12.0 && \
./configure --enable-parallel && make install && \
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/
ln -v -s /usr/include/mpich-x86_64/* /usr/include/ && \
wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
/bin/bash ~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh && \
/opt/conda/bin/conda clean -tipsy