This commit is contained in:
M. Pilosov 2019-01-03 15:54:55 -07:00
parent 0dc860068a
commit 7a8931e74c
3 changed files with 4 additions and 2 deletions

2
.env
View File

@ -19,7 +19,7 @@ DOCKER_MACHINE_NAME=jupyterhub
DOCKER_NETWORK_NAME=jupyterhub-network
# Single-user Jupyter Notebook server container image
DOCKER_NOTEBOOK_IMAGE=jupyter/scipy-notebook
DOCKER_NOTEBOOK_IMAGE=jupyter/datascience-notebook
# the local image we use, after pinning jupyterhub version
LOCAL_NOTEBOOK_IMAGE=jupyterhub-user

View File

@ -17,6 +17,7 @@ c.JupyterHub.spawner_class = 'dockerspawner.DockerSpawner'
c.DockerSpawner.image_whitelist = {'default': "jupyterhub-user",
'scipy': "jupyter/scipy-notebook",
'datascience': "jupyter/datascience-notebook",
'rstudio': 'rstudio_test',
'base': "jupyter/base-notebook"}
#c.DockerSpawner.container_image = "jupyter/datascience-notebook:7254cdcfa22b"

View File

@ -12,5 +12,6 @@ RUN apt-get update && \
USER jovyan
RUN python3 -m pip install --no-cache jupyterhub==$JUPYTERHUB_VERSION nbresuse
RUN conda install rstudio
RUN python3 -m pip install --no-cache jupyterhub==$JUPYTERHUB_VERSION nbresuse jupyter-rsession-proxy
RUN conda install -c conda-forge fenics