mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 23:12:56 +00:00
base-notebook: stop installing nodejs from conda-forge (#2172)
* base-notebook: stop installing nodejs from conda-forge nodejs was a conda dependency of jupyterhub, but by installing jupyterhub-base we no longer need it and could opt to remove it. By doing this, building base-notebook led to a reported size reduction from 974MB to 828MB, which is a 146MB / 15% size reduction. * Update CHANGELOG.md * Update CHANGELOG.md * Install jupyterhub-singleuser instead of jupyterhub-base Note that jupyterhub-base is really whats the foundational need for this image, where jupyterhub-singleuser the conda-forge package is building on jupyterhub-base by also adding a depdendency on jupyterlab - but the jupyterhub-singleuser command is provided by jupyterhub-base conda-forge package. * Update CHANGELOG.md Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com> --------- Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM quay.io/jupyter/base-notebook
|
||||
|
||||
RUN mamba install --yes 'jupyterhub-base==4.0.1' && \
|
||||
RUN mamba install --yes 'jupyterhub-singleuser==4.0.1' && \
|
||||
mamba clean --all -f -y && \
|
||||
fix-permissions "${CONDA_DIR}" && \
|
||||
fix-permissions "/home/${NB_USER}"
|
||||
|
@@ -54,9 +54,7 @@ It contains:
|
||||
|
||||
- Everything in `jupyter/docker-stacks-foundation`
|
||||
- Minimally functional Server (e.g., no LaTeX support for saving notebooks as PDFs)
|
||||
- `notebook`, `jupyterhub-base`, and `jupyterlab` packages
|
||||
Note: we're also installing `nodejs` as it has historically been installed indirectly as a dependency of `jupyterhub` package, which was used before.
|
||||
See more at: <https://github.com/jupyter/docker-stacks/pull/2171>
|
||||
- `notebook`, `jupyterhub-singleuser`, and `jupyterlab` packages
|
||||
- A `start-notebook.py` script as the default command
|
||||
- A `start-singleuser.py` script useful for launching containers in JupyterHub
|
||||
- Options for a self-signed HTTPS certificate
|
||||
|
Reference in New Issue
Block a user