diff --git a/docker/dockerfile b/docker/dockerfile index 47c533127a544f19c49781e5ee1ced33e1e492a4..8af3c940a3e2e021314df56f886653135678be12 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