jupyterhub-docker-spawner-i.../Dockerfile

11 lines
269 B
Docker

FROM quay.io/jupyter/datascience-notebook
USER root
RUN apt update && apt -y --no-install-recommends upgrade
USER ${NB_UID}
RUN mamba install --yes \
sage \
&& mamba clean --all -f -y \
&& fix-permissions "${CONDA_DIR}" \
&& fix-permissions "/home/${NB_USER}"