Skip to content

Commit b2bd67f

Browse files
author
Liav Weiss (EXT-Nokia)
committed
Upgrade Python to 3.12 and NodeJS to 24 - example-notebook-servers/
Signed-off-by: Liav Weiss (EXT-Nokia) <[email protected]>
1 parent 8c44fd7 commit b2bd67f

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

components/example-notebook-servers/codeserver-python/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ARG CODESERVER_JUPYTER_VERSION=2024.11.0
1818
ARG IPYKERNEL_VERSION=6.29.5
1919
ARG MINIFORGE_VERSION=24.11.3-0
2020
ARG PIP_VERSION=24.3.1
21-
ARG PYTHON_VERSION=3.11.11
21+
ARG PYTHON_VERSION=3.12.6
2222

2323
# setup environment for conda
2424
ENV CONDA_DIR /opt/conda

components/example-notebook-servers/jupyter-tensorflow-cuda/Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ ARG TARGETARCH
1414
# when updating past that version, either remove all TensorRT related packages,
1515
# or investigate if there is a way to keep TensorRT support
1616
ARG TENSORFLOW_VERSION=2.17.1
17-
ARG TENSORRT_VERSION=8.6.1.post1
18-
ARG TENSORRT_LIBS_VERSION=8.6.1
19-
ARG TENSORRT_BINDINGS_VERSION=8.6.1
17+
ARG TENSORRT_VERSION=10.2.0
18+
ARG TENSORRT_LIBS_VERSION=10.2.0
19+
ARG TENSORRT_BINDINGS_VERSION=10.2.0
2020

2121
# nvidia container toolkit
2222
# https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/docker-specialized.html
@@ -30,22 +30,22 @@ ENV NVIDIA_REQUIRE_CUDA "cuda>=12.3"
3030
# to `tensorrt-cu12`, `tensorrt-cu12-libs`, and `tensorrt-cu12-bindings` respectively
3131
RUN python3 -m pip install --quiet --no-cache-dir --extra-index-url https://pypi.nvidia.com \
3232
tensorflow[and-cuda]==${TENSORFLOW_VERSION} \
33-
tensorrt==${TENSORRT_VERSION} \
34-
tensorrt-libs==${TENSORRT_LIBS_VERSION} \
35-
tensorrt-bindings==${TENSORRT_BINDINGS_VERSION}
33+
tensorrt-cu12==${TENSORRT_VERSION} \
34+
tensorrt-cu12-libs==${TENSORRT_LIBS_VERSION} \
35+
tensorrt-cu12-bindings==${TENSORRT_BINDINGS_VERSION}
3636

3737
# create symlinks for TensorRT libs
3838
# - https://github.com/tensorflow/tensorflow/issues/61986#issuecomment-1880489731
3939
# - We are creating symlinks for the following libs, as this is where TF looks for them:
4040
# - libnvinfer.so.8.6.1 -> libnvinfer.so.8
4141
# - libnvinfer_plugin.so.8.6.1 -> libnvinfer_plugin.so.8
42-
ENV PYTHON_SITE_PACKAGES /opt/conda/lib/python3.11/site-packages
42+
ENV PYTHON_SITE_PACKAGES /opt/conda/lib/python3.12/site-packages
4343
ENV TENSORRT_LIBS ${PYTHON_SITE_PACKAGES}/tensorrt_libs
4444
RUN ln -s ${TENSORRT_LIBS}/libnvinfer.so.${TENSORRT_LIBS_VERSION%%.*} ${TENSORRT_LIBS}/libnvinfer.so.${TENSORRT_LIBS_VERSION} \
4545
&& ln -s ${TENSORRT_LIBS}/libnvinfer_plugin.so.${TENSORRT_LIBS_VERSION%%.*} ${TENSORRT_LIBS}/libnvinfer_plugin.so.${TENSORRT_LIBS_VERSION}
4646

4747
# envs - cudnn, tensorrt
48-
ENV LD_LIBRARY_PATH ${LD_LIBRARY_PATH}/nvidia/cudnn/lib:${TENSORRT_LIBS}
48+
ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${TENSORRT_LIBS}
4949

5050
# install - requirements.txt
5151
COPY --chown=${NB_USER}:${NB_GID} requirements.txt /tmp

components/example-notebook-servers/jupyter/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ USER root
1515
ARG JUPYTERLAB_VERSION=4.3.5
1616
ARG JUPYTER_VERSION=7.3.2
1717
ARG MINIFORGE_VERSION=24.11.3-0
18-
ARG NODE_MAJOR_VERSION=20
18+
ARG NODE_MAJOR_VERSION=24
1919
ARG PIP_VERSION=24.3.1
20-
ARG PYTHON_VERSION=3.11.11
20+
ARG PYTHON_VERSION=3.12.6
2121

2222
# install -- node.js
2323
RUN export DEBIAN_FRONTEND=noninteractive \

components/example-notebook-servers/rstudio/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ARG TARGETARCH
1010
# args - software versions (python)
1111
ARG MINIFORGE_VERSION=24.11.3-0
1212
ARG PIP_VERSION=24.3.1
13-
ARG PYTHON_VERSION=3.11.11
13+
ARG PYTHON_VERSION=3.12.6
1414

1515
# args - software versions (R)
1616
# - rstudio: https://dailies.rstudio.com/release/

0 commit comments

Comments
 (0)