From 9e4fd02f52503e299d247711762fa3a1ac488db3 Mon Sep 17 00:00:00 2001 From: Gary Yendell Date: Fri, 2 Aug 2024 10:11:06 +0000 Subject: [PATCH] Add hdf5filters install for compression libs --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 19a1ac44..de5334f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,12 @@ RUN python3.11 -m ensurepip && \ python -m pip install --upgrade pip && \ python -m pip install git+https://github.com/odin-detector/odin-control@1.3.0 +# Install hdf5filters from source +RUN git clone https://github.com/DiamondLightSource/hdf5filters.git && cd hdf5filters && \ + mkdir -p cmake-build && cd cmake-build && \ + cmake -DCMAKE_INSTALL_PREFIX=/odin -DCMAKE_BUILD_TYPE=Release -DUSE_AVX2=ON .. && \ + make install + # build stage - throwaway stage for runtime assets ############################# FROM developer AS build