From 0aaae32985860cf30545fcd74becc62866d5f6fc Mon Sep 17 00:00:00 2001 From: Eli Holmes Date: Sat, 6 Apr 2024 15:30:01 -0700 Subject: [PATCH] slim down more and remove arcgis --- images/arcgis-pangeo/Dockerfile | 7 ++++--- images/arcgis-pangeo/apt.txt | 2 -- images/arcgis-pangeo/environment.yml | 9 ++++++++- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/images/arcgis-pangeo/Dockerfile b/images/arcgis-pangeo/Dockerfile index 10682ae..1b4b4f0 100644 --- a/images/arcgis-pangeo/Dockerfile +++ b/images/arcgis-pangeo/Dockerfile @@ -4,10 +4,11 @@ FROM pangeo/base-image:2023.01.13 # activate notebook env that pangeo base creates RUN conda init zsh && conda init bash +USER ${NB_USER} + # broken here; complaining re node.js and npm -RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager@2 && \ - jupyter labextension install arcgis-map-ipywidget@2.0.0 +#RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager@2 && \ +# jupyter labextension install arcgis-map-ipywidget@2.0.0 -USER ${NB_USER} WORKDIR ${HOME} \ No newline at end of file diff --git a/images/arcgis-pangeo/apt.txt b/images/arcgis-pangeo/apt.txt index 87099b5..6f50956 100644 --- a/images/arcgis-pangeo/apt.txt +++ b/images/arcgis-pangeo/apt.txt @@ -22,5 +22,3 @@ xfce4-panel xfce4-session xfce4-settings xubuntu-icon-theme -nodejs -npm diff --git a/images/arcgis-pangeo/environment.yml b/images/arcgis-pangeo/environment.yml index a1cdd7e..0528d03 100644 --- a/images/arcgis-pangeo/environment.yml +++ b/images/arcgis-pangeo/environment.yml @@ -3,10 +3,17 @@ channels: - conda-forge dependencies: - python=3.9 - - esri::arcgis=2.0.0 +# - esri::arcgis=2.0.0 ## These are needed for jupyterhub functioning - jupyterhub-singleuser + - jupyter-server-proxy + - jupyter-vscode-proxy - ipywidgets - jupyterlab=2.2.9 - jupyterlab-git + - jupyterlab-favorites - jupyter-resource-usage + - conda-lock + - code-server >=3.2 +## needed for installing jupyterlab-widgets + - nodejs