-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
23 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# This does not work; uses Python 3.9 and old modules | ||
# The widget only works on the old notebook jupyter-server-proxy | ||
# won't work in a jupyterhub | ||
FROM ghcr.io/esri/arcgis-python-api-notebook | ||
# Still no map but does start up in the base environment and uses latest | ||
FROM quay.io/jupyter/base-notebook:latest | ||
|
||
RUN mamba install --yes 'jupyter-server-proxy' && \ | ||
mamba clean --all -f -y | ||
|
||
|
||
RUN mamba install --yes -c esri 'arcgis' && \ | ||
mamba clean --all -f -y | ||
|
||
RUN fix-permissions "${CONDA_DIR}" && \ | ||
fix-permissions "/home/${NB_USER}" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This does not work; uses Python 3.9 and old modules | ||
# The widget only works on the old notebook jupyter-server-proxy | ||
# won't work in a jupyterhub | ||
FROM ghcr.io/esri/arcgis-python-api-notebook | ||
|
||
RUN mamba install --yes 'jupyter-server-proxy' && \ | ||
mamba clean --all -f -y | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
conda create --prefix ~/conda/envs/test-env python=3.9 | ||
python -m ipykernel install --user --name=test-env | ||
conda create --prefix ~/conda/envs/test-env ipykernel | ||
conda activate ~/conda/envs/test-env | ||
python -m ipykernel install --user --name=test-env | ||
conda deactivate | ||
|
||
Removing | ||
jupyter kernelspec list | ||
jupyter kernelspec remove test-env | ||
conda env remove -p /home/rstudio/conda/envs/test-env | ||
|
||
ls -l ~/conda/envs/test-env | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters