From 776ef3791b9c7bcd4a901d1713975a719dfae1d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lie=20Albert?= Date: Thu, 30 May 2024 10:05:41 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Dockerfile b/Dockerfile index ec20dd6..a0fda43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,5 +72,15 @@ RUN git clone -b develop https://github.com/nextsimdg/nextsimdg.git RUN groupadd -g 10128 pr-sasip \ && usermod -g 10128 $NB_USER +WORKDIR /app + +RUN apt-get update && apt-get install -y wget bzip2 \ + && wget -qO- https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba \ + && touch /root/.bashrc \ + && ./bin/micromamba shell init -s bash -p /opt/conda \ + && cp /root/.bashrc /opt/conda/bashrc \ + && apt-get clean autoremove --yes \ + && rm -rf /var/lib/{apt,dpkg,cache,log} + RUN micromamba install -y -c conda-forge xarray matplotlib cartopy cmocean numpy netcdf4 dask nbgitpuller USER $NB_USER