From 5a0798fde4ca51c906d1175e771c08538def4bbd Mon Sep 17 00:00:00 2001 From: Eli Holmes Date: Sat, 6 Apr 2024 16:40:25 -0700 Subject: [PATCH] I think I need an earlier vrs of conda --- images/arcgis-pangeo/Dockerfile | 13 ++++++------- images/arcgis-pangeo/environment.yml | 7 +++++++ 2 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 images/arcgis-pangeo/environment.yml diff --git a/images/arcgis-pangeo/Dockerfile b/images/arcgis-pangeo/Dockerfile index 7b54c39..4d649d1 100644 --- a/images/arcgis-pangeo/Dockerfile +++ b/images/arcgis-pangeo/Dockerfile @@ -5,14 +5,13 @@ FROM openscapes/python:f577786 USER ${NB_USER} -RUN conda install --yes -c conda-forge 'jupyterlab=2.2.9' && \ - conda clean --all -f -y +RUN conda update -n base -c conda-forge conda=22.9.0 -RUN conda install --yes -c esri 'arcgis=2.0.0' && \ - conda clean --all -f -y - -RUN conda install --yes jupytext && \ - conda clean --all -f -y +# make sure we install in the notebook environment which is default in the +# Openscapes image +COPY environment.yml arcgis-environment.yml +RUN mamba env update --name notebook -f arcgis-environment.yml && mamba clean --all +RUN rm arcgis-environment.yml RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager@2 && \ jupyter labextension install arcgis-map-ipywidget@2.0.0 diff --git a/images/arcgis-pangeo/environment.yml b/images/arcgis-pangeo/environment.yml new file mode 100644 index 0000000..e9a7b61 --- /dev/null +++ b/images/arcgis-pangeo/environment.yml @@ -0,0 +1,7 @@ +name: arcgis +channels: + - conda-forge +dependencies: + - jupyterlab=2.2.9 + - esri::arcgis=2.0.0 + - jupytext