-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from UBC-DSCI/jlab4-nb7-nbgrader0.9.x
Update to Lab 4, Notebook 7, NbGrader 0.9.x
- Loading branch information
Showing
4 changed files
with
11 additions
and
47 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 |
---|---|---|
|
@@ -3,22 +3,10 @@ | |
FROM ubcdsci/py-dsci-100:latest | ||
|
||
# install the rise slides extension | ||
RUN mamba install --quiet --yes "rise" | ||
RUN pip install jupyterlab-rise | ||
|
||
# install a particular version of nodejs required by nbgrader | ||
RUN mamba install --quiet --yes nodejs=16.17.1 | ||
|
||
# install nbgrader (autotest-with-limit-cell-height-ext) | ||
RUN git clone -b autotest-with-limit-cell-height-ext https://github.com/UBC-DSCI/nbgrader \ | ||
&& cd nbgrader \ | ||
&& pip install . \ | ||
&& jupyter nbextension install --sys-prefix --py nbgrader --overwrite \ | ||
&& jupyter nbextension enable --sys-prefix --py nbgrader \ | ||
&& jupyter serverextension enable --sys-prefix --py nbgrader | ||
# install nbgrader | ||
RUN pip install "git+https://github.com/ubc-dsci/[email protected]" | ||
|
||
# Clean the cache | ||
RUN mamba clean --all -f -y | ||
|
||
# re-upgrade jupyter-server (mamba downgrades it) | ||
RUN pip install --upgrade jupyter-server | ||
|
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
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,19 +1,12 @@ | ||
# Copyright (c) UBC-DSCI Development Team. | ||
# Distributed under the terms of the Modified BSD License. | ||
FROM ubcdsci/r-dsci-100 | ||
FROM ubcdsci/r-dsci-100:latest | ||
|
||
# install the rise slides extension | ||
RUN mamba install --quiet --yes "rise" | ||
RUN pip install jupyterlab-rise | ||
|
||
# install nbgrader | ||
RUN mamba install --quiet --yes nbgrader \ | ||
&& jupyter nbextension install --sys-prefix --py nbgrader --overwrite \ | ||
&& jupyter nbextension enable --sys-prefix --py nbgrader \ | ||
&& jupyter serverextension enable --sys-prefix --py nbgrader | ||
RUN pip install "git+https://github.com/ubc-dsci/[email protected]" | ||
|
||
# Clean the cache | ||
RUN mamba clean --all -f -y | ||
|
||
# re-upgrade jupyter-server (mamba downgrades it) | ||
RUN pip install --upgrade jupyter-server | ||
|
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