-
Notifications
You must be signed in to change notification settings - Fork 2
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
2 changed files
with
11 additions
and
13 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,14 +1,15 @@ | ||
# Python 3.10 | ||
FROM jupyter/base-notebook:lab-3.6.3 | ||
# | ||
FROM jupyter/base-notebook:lab-2.2.9 | ||
|
||
RUN mamba update -c esri 'arcgis=2.0.0' | ||
RUN mamba update rasterio xarray geopandas | ||
RUN conda install --yes -c esri 'arcgis=2.0.0' && \ | ||
conda clean --all -f -y | ||
RUN conda install --yes rasterio xarray geopandas -c conda-forge && conda clean --all -f -y | ||
|
||
RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager@2 && \ | ||
jupyter labextension install [email protected] | ||
|
||
# version control for jupyter notebooks | ||
RUN mamba update jupytext | ||
RUN conda install --yes jupytext -c conda-forge && conda clean --all -f -y | ||
|
||
COPY apt.txt /tmp/apt.txt | ||
|
||
|
13 changes: 5 additions & 8 deletions
13
images/arcgis/Dockerfile_works → images/arcgis/Dockerfile_broken
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,18 +1,15 @@ | ||
# | ||
FROM jupyter/base-notebook:lab-2.2.9 | ||
FROM jupyter/base-notebook:lab-4.0.7 | ||
|
||
RUN conda install --yes 'jupyter-server-proxy=3.2.2' && \ | ||
conda clean --all -f -y | ||
|
||
RUN conda install --yes -c esri 'arcgis=2.0.0' && \ | ||
conda clean --all -f -y | ||
RUN conda install --yes rasterio xarray geopandas && conda clean --all -f -y | ||
# 2.0.0 need python 3.9 but ipywidget only up to 2.0.0 | ||
RUN mamba update -c esri 'arcgis=2.0.0' | ||
RUN mamba update rasterio xarray geopandas | ||
|
||
RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager@2 && \ | ||
jupyter labextension install [email protected] | ||
|
||
# version control for jupyter notebooks | ||
RUN conda install --yes jupytext -c conda-forge && conda clean --all -f -y | ||
RUN mamba update jupytext | ||
|
||
COPY apt.txt /tmp/apt.txt | ||
|
||
|