Skip to content

Commit ac22a27

Browse files
committed
Merge branch 'main' into freeze-version
2 parents 889262d + f2a5659 commit ac22a27

15 files changed

+73
-67
lines changed

CUDA.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ cd base && docker build \
8383
--build-arg BASE_IMAGE=ubuntu \
8484
--build-arg BASE_IMAGE_TAG=22.04 \
8585
--build-arg BUILD_ON_IMAGE=glcr.b-data.ch/cuda/python/ver \
86-
--build-arg PYTHON_VERSION=3.13.0 \
86+
--build-arg PYTHON_VERSION=3.13.1 \
8787
--build-arg CUDA_IMAGE_FLAVOR=devel \
8888
-t jupyterlab/cuda/python/base \
8989
-f latest.Dockerfile .
@@ -216,7 +216,7 @@ docker run -it --rm \
216216
**What makes this project different:**
217217
218218
1. Multi-arch: `linux/amd64`, `linux/arm64/v8`
219-
1. Derived from [`nvidia/cuda:12.6.3-devel-ubuntu22.04`](https://hub.docker.com/r/nvidia/cuda/tags?page=1&name=12.6.3-devel-ubuntu22.04)
219+
1. Derived from [`nvidia/cuda:12.8.0-devel-ubuntu22.04`](https://hub.docker.com/r/nvidia/cuda/tags?page=1&name=12.8.0-devel-ubuntu22.04)
220220
* including development libraries and headers
221221
1. TensortRT and TensorRT plugin libraries
222222
* including development libraries and headers
@@ -225,4 +225,4 @@ docker run -it --rm \
225225
1. Just Python – no [Conda](https://github.com/conda/conda) /
226226
[Mamba](https://github.com/mamba-org/mamba)
227227
228-
See [Notes](NOTES.md) for tweaks, settings, etc.
228+
See [CUDA Notes](CUDA_NOTES.md) for tweaks, settings, etc.

CUDA_NOTES.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Notes on CUDA
2+
3+
The CUDA and OS versions are selected as follows:
4+
5+
* CUDA: The lastest version that has image flavour `devel` including cuDNN
6+
available.
7+
* OS: The latest version that has TensortRT libraries for `amd64` available.
8+
:information_source: It is taking quite a long time for these to be available
9+
for `arm64`.
10+
11+
## Tweaks
12+
13+
### Environment variables
14+
15+
**Versions**
16+
17+
* `CUDA_VERSION`
18+
19+
**Miscellaneous**
20+
21+
* `CUDA_IMAGE`: The CUDA image it is derived from.

CUDA_VERSION_MATRIX.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ Topmost entry = Tag `latest`
66

77
| Python | CUDA | cuBLAS | cuDNN | NCCL | TensorRT[^2] | Linux distro |
88
|:-----------|:-------|:----------|:----------|:-------|:------------------------|:-------------|
9-
| 3.13.0[^1] | 12.6.3 | 12.6.4.1 | 9.6.0.74 | 2.23.4 | n/a | Ubuntu 22.04 |
9+
| 3.13.1 | 12.8.0 | 12.8.3.14 | 9.7.0.66 | 2.25.1 | n/a | Ubuntu 22.04 |
1010
| 3.12.8 | 12.6.3 | 12.6.4.1 | 8.9.7.29 | 2.23.4 | 10.7.0.23/<br>10.3.0.26 | Ubuntu 22.04 |
11+
| 3.13.0[^1] | 12.6.3 | 12.6.4.1 | 9.6.0.74 | 2.23.4 | n/a | Ubuntu 22.04 |
1112
| 3.12.7 | 12.6.3 | 12.6.4.1 | 8.9.7.29 | 2.23.4 | 10.7.0.23/<br>10.3.0.26 | Ubuntu 22.04 |
1213
| 3.11.10 | 11.8.0 | 11.11.3.6 | 8.9.6.50 | 2.15.5 | 8.5.3[^3] | Ubuntu 22.04 |
1314
| 3.12.6 | 12.6.1 | 12.6.1.4 | 8.9.7.29 | 2.23.4 | 10.4.0.26/<br>10.3.0.26 | Ubuntu 22.04 |
@@ -44,6 +45,7 @@ Topmost entry = Tag `latest`
4445

4546
| Python | CUDA | PyTorch[^4] | TensorFlow[^5] |
4647
|:-------|:-----|:-----------------------------|:--------------------------|
48+
| 3.13 | 12.8 | version ≥ 2.6 (experimental) | n/a |
4749
| 3.13 | 12.6 | version ≥ 2.6 (experimental) | n/a |
4850
| 3.12 | 12.6 | version ≥ 2.2 | version ≥ 2.16 |
4951
| 3.12 | 12.5 | version ≥ 2.2 | version ≥ 2.16 |
@@ -61,6 +63,7 @@ given.
6163

6264
| CUDA | Linux driver version | Windows driver version[^6] |
6365
|:-------|:---------------------|:---------------------------|
66+
| 12.8.0 | ≥ 570.26 | ≥ 570.65 |
6467
| 12.6.3 | ≥ 560.35.05 | ≥ 561.17 |
6568
| 12.6.2 | ≥ 560.35.03 | ≥ 560.94 |
6669
| 12.6.1 | ≥ 560.35.03 | ≥ 560.94 |
@@ -79,6 +82,7 @@ Only works with
7982

8083
| CUDA | Driver version 535[^7] | Driver version 470[^8] |
8184
|:-------|:----------------------:|:----------------------:|
85+
| 12.8.0 | 🟢 | 🔵 |
8286
| 12.6.3 | 🟢 | 🔵 |
8387
| 12.6.2 | 🟢 | 🔵 |
8488
| 12.6.1 | 🟢 | 🔵 |

DEVTOOLS_NOTES.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Notes on subtag `devtools`
2+
3+
Node.js is installed with corepack enabled by default. Use it to manage Yarn
4+
and/or pnpm:
5+
6+
* [Installation | Yarn - Package Manager > Updating the global Yarn version](https://yarnpkg.com/getting-started/install#updating-the-global-yarn-version)
7+
* [Installation | pnpm > Using Corepack](https://pnpm.io/installation#using-corepack)
8+
9+
## System Python
10+
11+
Package `libsecret-1-dev` depends on `python3` from the system's package
12+
repository.
13+
14+
The system's Python version is installed at `/usr/bin`.
15+
16+
:information_source: Because [a more recent Python version](NOTES.md#python) is
17+
installed at `/usr/local/bin`, it takes precedence over the system's Python
18+
version.

NOTES.md

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -167,44 +167,3 @@ are installed.
167167
The latest Python version is installed at `/usr/local/bin`, regardless of
168168
whether all packages – such as numba, tensorflow, etc. – are already compatible
169169
with it.
170-
171-
# Additional notes on CUDA
172-
173-
The CUDA and OS versions are selected as follows:
174-
175-
* CUDA: The lastest version that has image flavour `devel` including cuDNN
176-
available.
177-
* OS: The latest version that has TensortRT libraries for `amd64` available.
178-
:information_source: It is taking quite a long time for these to be available
179-
for `arm64`.
180-
181-
## Tweaks
182-
183-
### Environment variables
184-
185-
**Versions**
186-
187-
* `CUDA_VERSION`
188-
189-
**Miscellaneous**
190-
191-
* `CUDA_IMAGE`: The CUDA image it is derived from.
192-
193-
# Additional notes on subtag `devtools`
194-
195-
Node.js is installed with corepack enabled by default. Use it to manage Yarn
196-
and/or pnpm:
197-
198-
* [Installation | Yarn - Package Manager > Updating the global Yarn version](https://yarnpkg.com/getting-started/install#updating-the-global-yarn-version)
199-
* [Installation | pnpm > Using Corepack](https://pnpm.io/installation#using-corepack)
200-
201-
## System Python
202-
203-
Package `libsecret-1-dev` depends on `python3` from the system's package
204-
repository.
205-
206-
The system's Python version is installed at `/usr/bin`.
207-
208-
:information_source: Because [a more recent Python version](#python) is
209-
installed at `/usr/local/bin`, it takes precedence over the system's Python
210-
version.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ The following extensions are pre-installed for **code-server**:
100100
* `{PYTHON_VERSION,latest}-devtools-docker`: The combination of both
101101
* `{PYTHON_VERSION,latest}-devtools-docker-root`: The combination of all three
102102

103+
See also [Notes on subtag `devtools`](DEVTOOLS_NOTES.md).
104+
103105
## Table of Contents
104106

105107
* [Prerequisites](#prerequisites)
@@ -130,7 +132,7 @@ To install docker, follow the instructions for your platform:
130132

131133
```bash
132134
cd base && docker build \
133-
--build-arg PYTHON_VERSION=3.13.0 \
135+
--build-arg PYTHON_VERSION=3.13.1 \
134136
-t jupyterlab/python/base \
135137
-f latest.Dockerfile .
136138
```

VERSION_MATRIX.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ Topmost entry = Tag `latest`
88

99
| Python | Jupyter Hub | Jupyter Lab | code‑server (Code) | Neovim | Git | Git LFS | Pandoc | Linux distro |
1010
|:-----------|:------------|:------------|:-------------------|:-------|:-------|:--------|:-------|:-------------|
11-
| 3.13.0[^1] | 5.2.1 | 4.2.5 | 4.95.3 (1.95.3) | 0.10.2 | 2.47.1 | 3.6.0 | 3.4 | Debian 12 |
11+
| 3.13.1 | 5.2.1 | 4.3.5 | 4.96.4 (1.96.4) | 0.10.4 | 2.48.1 | 3.6.1 | 3.4 | Debian 12 |
1212
| 3.12.8 | 5.2.1 | 4.2.5 | 4.95.3 (1.95.3) | 0.10.2 | 2.47.1 | 3.6.0 | 3.4 | Debian 12 |
13+
| 3.13.0[^1] | 5.2.1 | 4.2.5 | 4.95.3 (1.95.3) | 0.10.2 | 2.47.1 | 3.6.0 | 3.4 | Debian 12 |
1314
| 3.12.7 | 5.2.1 | 4.2.5 | 4.95.3 (1.95.3) | 0.10.2 | 2.47.1 | 3.6.0 | 3.4 | Debian 12 |
1415
| 3.11.10 | 5.2.1 | 4.2.5 | 4.95.3 (1.95.3) | 0.10.2 | 2.47.1 | 3.6.0 | 3.4 | Debian 12 |
1516
| 3.12.6 | 5.1.0 | 4.2.5 | 4.93.1 (1.93.1) | 0.10.1 | 2.46.2 | 3.5.1 | 3.2 | Debian 12 |
@@ -43,8 +44,9 @@ Topmost entry = Tag `latest`
4344

4445
| Python | CTAN date | Quarto |
4546
|:-----------|:-----------|:------------|
46-
| 3.13.0[^1] | 2024‑12‑03 | 1.6.39 |
47+
| 3.13.1[^1] | | 1.6.40 |
4748
| 3.12.8 | | 1.6.39 |
49+
| 3.13.0[^1] | 2024‑12‑03 | 1.6.39 |
4850
| 3.12.7 | 2024‑12‑03 | 1.6.39 |
4951
| 3.11.10 | 2024‑12‑03 | 1.6.39 |
5052
| 3.12.6 | 2024‑10‑01 | 1.5.57 |

base/.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.env:
22
variables:
3-
PYTHON_VERSION: "3.13.0"
3+
PYTHON_VERSION: "3.13.1"
44
TAG_VERSION_MAJ_MIN: "false"
55
TAG_VERSION_MAJ: "false"
66

base/conf/jupyter/etc/jupyter/jupyter_server_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
from jupyter_core.paths import jupyter_data_dir
1111

1212
c = get_config() # noqa: F821 # type: ignore
13-
c.ServerApp.ip = "0.0.0.0"
14-
c.ServerApp.port = 8888
13+
# Listen on all interfaces (IPv4 and IPv6)
14+
c.ServerApp.ip = ""
1515
#c.ServerApp.open_browser = False
1616

1717
# https://github.com/jupyter/notebook/issues/3130

base/latest.Dockerfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ ARG CUDA_IMAGE_FLAVOR
77
ARG NB_USER=jovyan
88
ARG NB_UID=1000
99
ARG JUPYTERHUB_VERSION=5.2.1
10-
ARG JUPYTERLAB_VERSION=4.2.5
10+
ARG JUPYTERLAB_VERSION=4.3.5
1111
ARG CODE_BUILTIN_EXTENSIONS_DIR=/opt/code-server/lib/vscode/extensions
12-
ARG CODE_SERVER_VERSION=4.95.3
13-
ARG NEOVIM_VERSION=0.10.2
14-
ARG GIT_VERSION=2.47.1
15-
ARG GIT_LFS_VERSION=3.6.0
12+
ARG CODE_SERVER_VERSION=4.96.4
13+
ARG NEOVIM_VERSION=0.10.4
14+
ARG GIT_VERSION=2.48.1
15+
ARG GIT_LFS_VERSION=3.6.1
1616
ARG PANDOC_VERSION=3.4
1717

1818
FROM ${BUILD_ON_IMAGE}${PYTHON_VERSION:+:}${PYTHON_VERSION}${CUDA_IMAGE_FLAVOR:+-}${CUDA_IMAGE_FLAVOR} AS files
@@ -327,7 +327,10 @@ RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master
327327
COPY --from=files /files /
328328
COPY --from=files /files/var/backups/skel ${HOME}
329329

330-
EXPOSE 8888
330+
ARG JUPYTER_PORT=8888
331+
ENV JUPYTER_PORT=${JUPYTER_PORT}
332+
333+
EXPOSE $JUPYTER_PORT
331334

332335
## Configure container startup
333336
ENTRYPOINT ["tini", "-g", "--", "start.sh"]

base/scripts/usr/local/bin/start-singleuser.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
set -e
66

7-
# set default ip to 0.0.0.0
8-
if [[ "${NOTEBOOK_ARGS} $*" != *"--ip="* ]]; then
9-
NOTEBOOK_ARGS="--ip=0.0.0.0 ${NOTEBOOK_ARGS}"
10-
fi
7+
# JupyterHub singleuser arguments are set using environment variables
118

129
echo "Executing: jupyterhub-singleuser" "${NOTEBOOK_ARGS}" "$@"
1310
# shellcheck disable=SC1091,SC2086

base/scripts/usr/local/bin/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ if [ "$(id -u)" == 0 ]; then
116116
userdel "${NB_USER}"
117117
useradd --no-log-init --home "/home/${NB_USER}${DOMAIN:+@$DOMAIN}" --shell "$(which zsh)" --uid "${NB_UID}" --gid "${NB_GID}" --groups 100 "${NB_USER}"
118118
else
119-
# Otherwise, and if not the jovyan user, add it to the default group
120-
if [[ "${NB_USER}" != "jovyan" ]]; then
119+
# Otherwise, and if not jovyan or root, add it to the default group
120+
if [[ "${NB_USER}" != "jovyan" && "${NB_USER}" != "root" ]]; then
121121
usermod -a -G 100 "${NB_USER}"
122122
fi
123123
fi

common/subtags/devtools/latest.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG BASE_IMAGE_TAG=12
33
ARG BUILD_ON_IMAGE
44
ARG PYTHON_VERSION
55

6-
ARG NODE_VERSION=20.18.0
6+
ARG NODE_VERSION=20.18.1
77
ARG CODE_BUILTIN_EXTENSIONS_DIR=/opt/code-server/lib/vscode/extensions
88

99
FROM glcr.b-data.ch/nodejs/nsi/${NODE_VERSION}/${BASE_IMAGE}:${BASE_IMAGE_TAG} as nsi

scipy/.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.env:
22
variables:
3-
PYTHON_VERSION: "3.13.0"
3+
PYTHON_VERSION: "3.13.1"
44
CTAN_REPO_BUILD_LATEST: "https://mirror.init7.net/ctan/systems/texlive/tlnet"
55
TAG_VERSION_MAJ_MIN: "false"
66
TAG_VERSION_MAJ: "false"

scipy/latest.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG BUILD_ON_IMAGE=glcr.b-data.ch/jupyterlab/python/base
22
ARG PYTHON_VERSION
33
ARG CODE_BUILTIN_EXTENSIONS_DIR=/opt/code-server/lib/vscode/extensions
4-
ARG QUARTO_VERSION=1.6.39
4+
ARG QUARTO_VERSION=1.6.40
55
ARG CTAN_REPO=https://mirror.ctan.org/systems/texlive/tlnet
66

77
FROM ${BUILD_ON_IMAGE}${PYTHON_VERSION:+:}${PYTHON_VERSION}
@@ -111,7 +111,7 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
111111
ipympl\
112112
ipywidgets \
113113
matplotlib \
114-
#numba \
114+
numba \
115115
numexpr \
116116
numpy \
117117
pandas \

0 commit comments

Comments
 (0)