diff --git a/docker-stacks-foundation/Dockerfile b/docker-stacks-foundation/Dockerfile index 9d048a3e..07536c0d 100644 --- a/docker-stacks-foundation/Dockerfile +++ b/docker-stacks-foundation/Dockerfile @@ -77,7 +77,7 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \ USER ${NB_UID} # Pin python version here, or set it to "default" -ARG PYTHON_VERSION=3.10 +ARG PYTHON_VERSION=3.11 # Setup work directory for backward-compatibility RUN mkdir "/home/${NB_USER}/work" && \ diff --git a/tensorflow-notebook/Dockerfile b/tensorflow-notebook/Dockerfile index 25492de4..51070fdc 100644 --- a/tensorflow-notebook/Dockerfile +++ b/tensorflow-notebook/Dockerfile @@ -10,9 +10,7 @@ LABEL maintainer="Jupyter Project " # Fix: https://github.com/koalaman/shellcheck/wiki/SC3014 SHELL ["/bin/bash", "-o", "pipefail", "-c"] -# Install Tensorflow -RUN mamba install --yes \ - 'tensorflow' && \ - mamba clean --all -f -y && \ +# Install Tensorflow with pip +RUN pip install --no-cache-dir tensorflow && \ fix-permissions "${CONDA_DIR}" && \ fix-permissions "/home/${NB_USER}" diff --git a/tests/docker-stacks-foundation/test_python.py b/tests/docker-stacks-foundation/test_python.py index 8a41bebc..fe585b72 100644 --- a/tests/docker-stacks-foundation/test_python.py +++ b/tests/docker-stacks-foundation/test_python.py @@ -5,7 +5,7 @@ import logging from tests.conftest import TrackedContainer LOGGER = logging.getLogger(__name__) -EXPECTED_PYTHON_VERSION = "3.10" +EXPECTED_PYTHON_VERSION = "3.11" def test_python_version(container: TrackedContainer) -> None: