mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-14 21:42:57 +00:00
Build images with ubuntu-22.04 and python-3.7
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
# Copyright (c) Jupyter Development Team.
|
# Copyright (c) Jupyter Development Team.
|
||||||
# Distributed under the terms of the Modified BSD License.
|
# Distributed under the terms of the Modified BSD License.
|
||||||
|
|
||||||
# Ubuntu 20.04 (focal)
|
# Ubuntu 22.04 (jammy)
|
||||||
# https://hub.docker.com/_/ubuntu/tags?page=1&name=focal
|
# https://hub.docker.com/_/ubuntu/tags?page=1&name=jammy
|
||||||
ARG ROOT_CONTAINER=ubuntu:20.04
|
ARG ROOT_CONTAINER=ubuntu:22.04
|
||||||
|
|
||||||
FROM $ROOT_CONTAINER
|
FROM $ROOT_CONTAINER
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \
|
|||||||
USER ${NB_UID}
|
USER ${NB_UID}
|
||||||
|
|
||||||
# Pin python version here, or set it to "default"
|
# Pin python version here, or set it to "default"
|
||||||
ARG PYTHON_VERSION=3.10
|
ARG PYTHON_VERSION=3.7
|
||||||
|
|
||||||
# Setup work directory for backward-compatibility
|
# Setup work directory for backward-compatibility
|
||||||
RUN mkdir "/home/${NB_USER}/work" && \
|
RUN mkdir "/home/${NB_USER}/work" && \
|
||||||
|
@@ -5,7 +5,7 @@ import logging
|
|||||||
from tests.conftest import TrackedContainer
|
from tests.conftest import TrackedContainer
|
||||||
|
|
||||||
LOGGER = logging.getLogger(__name__)
|
LOGGER = logging.getLogger(__name__)
|
||||||
EXPECTED_PYTHON_VERSION = "3.10"
|
EXPECTED_PYTHON_VERSION = "3.7"
|
||||||
|
|
||||||
|
|
||||||
def test_python_version(container: TrackedContainer) -> None:
|
def test_python_version(container: TrackedContainer) -> None:
|
||||||
|
Reference in New Issue
Block a user