From ae6acaf39b45e2b3cee14a564d9a826ede1f36cd Mon Sep 17 00:00:00 2001 From: heyarne Date: Wed, 18 Nov 2020 16:43:39 +0000 Subject: [PATCH] Switch to environment varibles for authorization --- Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e58742d..fa80c53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,13 @@ -# See https://jupyter-docker-stacks.readthedocs.io/en/latest/using/recipes.html#using-pip-install-or-conda-install-in-a-child-docker-image for more info - -FROM jupyter/scipy-notebook:42f4c82a07ff +# Please substitute the values below with your user credentials; the signup +# form can be found at https://scihub.copernicus.eu/dhus. +# Alternatively you can provide the values when running the docker container. +ENV SCIHUB_USERNAME="" +ENV SCIHUB_PASSWORD="" ENV JUPYTER_ENABLE_LAB=yes +FROM jupyter/scipy-notebook:42f4c82a07ff + +# See https://jupyter-docker-stacks.readthedocs.io/en/latest/using/recipes.html#using-pip-install-or-conda-install-in-a-child-docker-image for more info RUN conda install -c conda-forge geopandas==0.8.1 && \ pip install descartes==1.1.0 sentinelsat==0.14 rasterio==1.1.5 folium==0.11.0 && \ fix-permissions $CONDA_DIR && \