Skip to content

Commit

Permalink
add nbzip back to the hub (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leah Wasser committed May 6, 2020
1 parent 1d26094 commit d10e4ba
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion user-images/ea-hub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ FROM earthlab/earth-analytics-python-env:84549e0
# validate extension, but you can't just install one. You need to install
# them all and then disable the ones you don't want. Hmmm, ok.

# setup nbgitpuller to sync files
# Setup nbgitpuller to sync files from course repo to hub
RUN conda install -c conda-forge nbgitpuller \
&& jupyter serverextension enable --py nbgitpuller --sys-prefix

# Setup nbzip - this allows students to download files from the hub
RUN pip install --no-cache --upgrade --upgrade-strategy only-if-needed \
nbzip==0.1.0 \
&& jupyter serverextension enable --py nbzip --sys-prefix \
&& jupyter nbextension install --py nbzip --sys-prefix \
&& jupyter nbextension enable --py nbzip --sys-prefix

# Setup nbgrader + extensions
RUN jupyter nbextension install --sys-prefix --py nbgrader --overwrite \
&& jupyter nbextension enable --sys-prefix --py nbgrader \
&& jupyter serverextension enable --sys-prefix --py nbgrader
Expand Down

0 comments on commit d10e4ba

Please sign in to comment.