Skip to content

Commit

Permalink
add conda forge to arcgis so it can downgrade conda
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Apr 6, 2024
1 parent 49c7c48 commit 5c1ec02
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions images/arcgis-pangeo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@ FROM openscapes/python:f577786

USER ${NB_USER}

RUN conda install -n base -c conda-forge conda=22.9.0
RUN conda install --yes -c conda-forge 'jupyterlab=2.2.9' && \
conda clean --all -f -y

RUN conda install --yes 'arcgis=2.0.0' -c esri -c conda-forge && \
conda clean --all -f -y

RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager@2 && \
jupyter labextension install [email protected]
# 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
#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 [email protected]

0 comments on commit 5c1ec02

Please sign in to comment.