From 9d7411849d25d723261356d48a8008b240023b80 Mon Sep 17 00:00:00 2001 From: David Andersen Date: Mon, 9 Sep 2019 14:54:21 -0700 Subject: [PATCH] change nbgrader installation method --- Dockerfile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index ac0ed0a..b7e0e04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG BASE_CONTAINER=jupyter/datascience-notebook:a95cb64dfe10 -ARG DATAHUB_CONTAINER=ucsdets/datahub-base-notebook:2019.4.1-fa19 +ARG DATAHUB_CONTAINER=ucsdets/datahub-base-notebook:2019.4.2 FROM $DATAHUB_CONTAINER as datahub @@ -46,16 +46,8 @@ RUN python -c 'import matplotlib.pyplot' #RUN conda remove --quiet --yes --force qt pyqt RUN conda clean -tipsy -RUN conda install nbgrader=0.6.0 -RUN jupyter nbextension install --symlink --sys-prefix --py nbgrader -RUN jupyter nbextension enable --sys-prefix --py nbgrader -RUN jupyter serverextension enable --sys-prefix --py nbgrader - -# Disable formgrader for default case, re-enable if instructor -RUN jupyter nbextension disable --sys-prefix formgrader/main --section=tree -RUN jupyter serverextension disable --sys-prefix nbgrader.server_extensions.formgrader -RUN jupyter nbextension disable --sys-prefix create_assignment/main +RUN /usr/share/datahub/scripts/install-nbgrader.sh RUN pip install git+https://github.com/data-8/gitautosync