Skip to content

Commit

Permalink
Pin hdf5 version to 3.0.0
Browse files Browse the repository at this point in the history
A recent change in the 3.x branch will change the includes for lzf.h
which will break the compilation of the lzf shared library
  • Loading branch information
timeu committed Jun 15, 2021
1 parent 9fa6c9d commit 4ce386e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ FROM jetty:9.4.26-jre8 as hdf5_builder
USER root
WORKDIR /root
RUN apt update && apt install -y gcc libhdf5-dev git
RUN git clone https://github.com/h5py/h5py.git
RUN cd h5py/lzf && gcc -O2 -fPIC -I/usr/include/hdf5/serial -L/usr/lib/x86_64-linux-gnu/hdf5/serial/ -shared lzf/*.c lzf_filter.c -o liblzf_filter.so -lhdf5
RUN git clone --depth 1 --branch 3.0.0 https://github.com/h5py/h5py.git
RUN cd h5py/lzf && gcc -O2 -fPIC -I/usr/include/hdf5/serial -L/usr/lib/x86_64-linux-gnu/hdf5/serial/ -shared lzf/*.c lzf_filter.c -o liblzf_filter.so -lhdf5

FROM jetty:9.4.26-jre8
USER root
Expand Down

0 comments on commit 4ce386e

Please sign in to comment.