diff --git a/Dockerfile b/Dockerfile index 53e759f9..25e63692 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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