Skip to content

Commit f534051

Browse files
committed
With the new 8.0-1 image it shouldn't be necessary to add any
additional packages, or do anything special with USER or jupyter-notebook
1 parent 44677f1 commit f534051

File tree

3 files changed

+1
-24
lines changed

3 files changed

+1
-24
lines changed

Dockerfile

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
FROM sagemath/sagemath:8.0
2-
1+
FROM sagemath/sagemath:8.0-1
32
# Inspired from https://mybinder.readthedocs.io/en/latest/dockerfile.html#preparing-your-dockerfile
4-
5-
ENV NB_USER=sage
6-
ENV HOME /home/sage
7-
8-
# Upgrade to jupyter 5.* as required by mybinder and install additional kernels
9-
# This will eventually be lifted upstream to sagemath/sagemath
10-
RUN sage -pip install "notebook>=5" "ipykernel>=4.6"
11-
RUN sage -i gap_jupyter
12-
RUN sage -i singular_jupyter
13-
RUN sage -i pari_jupyter
14-
15-
USER root
16-
# This will eventually be lifted upstream to sagemath/sagemath
17-
COPY jupyter jupyter-notebook /usr/bin/
18-
193
# Make sure the contents of our repo are in ${HOME}
204
COPY . ${HOME}
21-
RUN chown -R ${NB_USER}:${NB_USER} ${HOME}
22-
USER ${NB_USER}

jupyter

Lines changed: 0 additions & 3 deletions
This file was deleted.

jupyter-notebook

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)