diff --git a/docker-stacks-foundation/Dockerfile b/docker-stacks-foundation/Dockerfile index 9d048a3ea3..07536c0d31 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 25492de4f6..51070fdc8e 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 8a41bebcf2..fe585b725b 100644 --- a/tests/docker-stacks-foundation/test_python.py +++ b/tests/docker-stacks-foundation/test_python.py @@ -5,7 +5,7 @@ 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: