diff --git a/docs/using/recipe_code/jupyterhub_version.dockerfile b/docs/using/recipe_code/jupyterhub_version.dockerfile index 7fd530186..22c9dfa19 100644 --- a/docs/using/recipe_code/jupyterhub_version.dockerfile +++ b/docs/using/recipe_code/jupyterhub_version.dockerfile @@ -1,6 +1,6 @@ FROM quay.io/jupyter/base-notebook -RUN mamba install --yes 'jupyterhub==4.0.1' && \ +RUN mamba install --yes 'jupyterhub-base==4.0.1' && \ mamba clean --all -f -y && \ fix-permissions "${CONDA_DIR}" && \ fix-permissions "/home/${NB_USER}" diff --git a/images/base-notebook/Dockerfile b/images/base-notebook/Dockerfile index dd068c809..261cf3e65 100644 --- a/images/base-notebook/Dockerfile +++ b/images/base-notebook/Dockerfile @@ -39,9 +39,15 @@ USER ${NB_UID} # files across image layers when the permissions change WORKDIR /tmp RUN mamba install --yes \ - 'jupyterhub' \ + 'jupyterhub-base' \ 'jupyterlab' \ 'nbclassic' \ + # nodejs has historically been installed indirectly as a dependency. + # When it was no longer getting installed indirectly, + # we started installing it explicitly to avoid introducing a breaking change + # for users building on top of these images. + # See: https://github.com/jupyter/docker-stacks/pull/2171 + 'nodejs' \ # Sometimes, when the new version of `jupyterlab` is released, latest `notebook` might not support it for some time # Old versions of `notebook` (",