Skip to content
Snippets Groups Projects
Dockerfile 927 B
Newer Older
FROM ubuntu:latest
# Set some environment variables that will be needed later
ENV HDF5_DIR=/usr/local/HDF_Group/HDF5/1.13.1/

# Copy recipes
COPY dependencies workdir

# Install some dependencies through apt
RUN export DEBIAN_FRONTEND=noninteractive \
    && apt update \
    && apt install -yq vim make cmake wget git python3 python3-pip python3-venv \
    && apt install -yq swig gcc gfortran pkg-config libzstd-dev \
    && apt install -yq libproj-dev proj-data proj-bin libgeos-dev libeccodes-dev

WORKDIR workdir
# Install the filters + libpressio + enstools-compression
RUN make

# Download the script to compare data compressed with the filters and libpressio
RUN mkdir test_coherence/ ; cd test_coherence/; \
    wget https://gist.githubusercontent.com/orioltinto/a33e4a24c91e0b7630cece6459cb74a5/raw/2fdebf0c85cb360e5c9a974c5b4f54250ccd7954/check_libpressio_filter_consistency.py

ENV HDF5_PLUGIN_PATH=/usr/local/lib/