From f60a6b5de5d82710ae44be7d9e5b08a0bbc152eb Mon Sep 17 00:00:00 2001 From: Pan Luo Date: Fri, 24 Jan 2025 15:16:38 -0800 Subject: [PATCH] Use hub-5.2.0 base and update jupyterhub base image hub 5.2.1 has huge changes including removing of node and updating python to 3.12. Also sage was not working with python 3.12 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f2acbd2..74a30c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # sudo docker kill $(sudo docker ps -q); sudo docker rm $(sudo docker ps -a -q); sudo docker rmi $(sudo docker images -q) # sudo docker build --squash --no-cache -t 032401129069.dkr.ecr.ca-central-1.amazonaws.com/jupyterhub:jupyterlab-open . -ARG BASE_CONTAINER=quay.io/jupyter/datascience-notebook:hub-5.2.1 +ARG BASE_CONTAINER=quay.io/jupyter/datascience-notebook:hub-5.2.0 #ARG BASE_CONTAINER=032401129069.dkr.ecr.ca-central-1.amazonaws.com/jupyterhub:jupyterlab-all FROM $BASE_CONTAINER @@ -50,6 +50,7 @@ RUN mamba create --yes -n sage sage=10.4 python=3.11 && \ "openjdk" \ "maven" \ "ipython-sql" \ + "jupyterhub-singleuser" \ "jupyterlab-lsp" \ "jupyter-lsp-python" \ "jupyter_bokeh"