Skip to content

Commit 33d3b30

Browse files
authored
Use mamba to install jupyter-server-proxy (#2262)
* Use mamba to install jupyter-server-proxy * Update changelog
1 parent b3669ac commit 33d3b30

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
This changelog only contains breaking and/or significant changes manually introduced to this repository (using Pull Requests).
44
All image manifests can be found in [the wiki](https://github.com/jupyter/docker-stacks/wiki).
55

6+
## 2025-03-23
7+
8+
Affected: `tensorflow-notebook`.
9+
10+
- **Non-breaking:** `tensorflow-notebook`: Use mamba to install jupyter-server-proxy ([#2262](https://github.com/jupyter/docker-stacks/pull/2262)).
11+
612
## 2025-03-22
713

814
Affected: all images.

images/tensorflow-notebook/Dockerfile

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,15 @@ LABEL maintainer="Jupyter Project <[email protected]>"
1111
# Fix: https://github.com/koalaman/shellcheck/wiki/SC3014
1212
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1313

14+
RUN mamba install --yes \
15+
'jupyter-server-proxy' && \
16+
mamba clean --all -f -y && \
17+
fix-permissions "${CONDA_DIR}" && \
18+
fix-permissions "/home/${NB_USER}"
19+
1420
# Install tensorflow with pip, on x86_64 tensorflow-cpu
1521
RUN [[ $(uname -m) = x86_64 ]] && TF_POSTFIX="-cpu" || TF_POSTFIX="" && \
1622
pip install --no-cache-dir \
17-
"jupyter-server-proxy" \
1823
"tensorflow${TF_POSTFIX}" && \
1924
fix-permissions "${CONDA_DIR}" && \
2025
fix-permissions "/home/${NB_USER}"

images/tensorflow-notebook/cuda/Dockerfile

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,14 @@ LABEL maintainer="Jupyter Project <[email protected]>"
1111
# Fix: https://github.com/koalaman/shellcheck/wiki/SC3014
1212
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1313

14+
RUN mamba install --yes \
15+
'jupyter-server-proxy' && \
16+
mamba clean --all -f -y && \
17+
fix-permissions "${CONDA_DIR}" && \
18+
fix-permissions "/home/${NB_USER}"
19+
1420
# Install TensorFlow, CUDA and cuDNN with pip
1521
RUN pip install --no-cache-dir \
16-
"jupyter-server-proxy" \
1722
"tensorflow[and-cuda]<=2.17.1" && \
1823
fix-permissions "${CONDA_DIR}" && \
1924
fix-permissions "/home/${NB_USER}"

tests/by_image/docker-stacks-foundation/test_packages.py

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"grpcio-status",
5555
"grpcio",
5656
"hdf5",
57+
"jupyter-server-proxy",
5758
"jupyterhub-singleuser",
5859
"jupyterlab-git",
5960
"mamba",

0 commit comments

Comments
 (0)