From a6e297ff6373a19c0422ea24ee3494255d51182d Mon Sep 17 00:00:00 2001 From: EGI-ILM Date: Tue, 12 Mar 2024 12:40:24 +0100 Subject: [PATCH] Amendments for gdal --- single-user-criticalzone/Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/single-user-criticalzone/Dockerfile b/single-user-criticalzone/Dockerfile index 1bd619c..4bdbc53 100644 --- a/single-user-criticalzone/Dockerfile +++ b/single-user-criticalzone/Dockerfile @@ -1,7 +1,7 @@ # CriticalZone -ARG BASE_IMAGE=eginotebooks/d4science-base:latest +ARG BASE_IMAGE=eginotebooks/base:latest FROM $BASE_IMAGE USER root @@ -11,7 +11,10 @@ RUN apt-get update \ nco \ cdo \ cmake \ + gdal-bin \ g++ \ + python3-gdal \ + libgdal-dev \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -24,9 +27,12 @@ RUN pip install --no-cache-dir \ pandas \ scipy \ matplotlib \ - gdal \ + numpy \ + GDAL=="$(gdal-config --version).*" \ h5netcdf +#RUN conda install -c conda-forge gdal + # ------------------------------- # JupyterLab extensions # -------------------------------