From b6b52f26124d5d135e8e5923929b988772497b5f Mon Sep 17 00:00:00 2001 From: Raffaele Gaetano <raffaele.gaetano@cirad.fr> Date: Tue, 11 Jul 2023 09:39:03 +0200 Subject: [PATCH] ENH: update dockerfile. --- docker/dockerfile | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/docker/dockerfile b/docker/dockerfile index 47c5331..8af3c94 100644 --- a/docker/dockerfile +++ b/docker/dockerfile @@ -22,10 +22,8 @@ RUN apt-get update \ patch \ pkg-config \ python3-dev \ - python3-numpy \ python3-pip \ python3-setuptools \ - python3-sklearn \ python3-wheel \ swig \ unzip \ @@ -35,6 +33,8 @@ RUN apt-get update \ libopenmpi-dev \ && apt-get clean && rm -rf /var/lib/apt/lists/* +RUN pip install numpy==1.23.5 + # OTB branch to clone ARG OTB_BRANCH=release-8.1 # Set USE_SYSTEM_* flags @@ -107,16 +107,18 @@ USER ubuntu WORKDIR /home/ubuntu RUN pip install gdal==3.4.2 \ - rasterio \ - geopandas \ - scikit-learn \ - scikit-image \ - psutil \ - planetary_computer \ + pydantic==1.10.8 \ + matplotlib==3.7.1 \ + rasterio==1.3.4 \ + geopandas==0.13.2 \ + scikit-learn==1.2.2 \ + scikit-image==0.19.3 \ + psutil==5.9.4 \ + planetary_computer==0.5.1 \ theia_picker \ - fpdf2 \ - planet \ - eodag + fpdf2==2.7.4 \ + planet==2.0.3 \ + eodag==2.10.0 RUN mkdir moringav2 COPY --chown=ubuntu . /home/ubuntu/moringav2 \ No newline at end of file -- GitLab