From d9c14b8c757b375b8605776287224f1778399fe2b42b5e9cae5f417bee84788d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 23 Nov 2022 09:33:27 +0000 Subject: [PATCH] [info=60e957d5a32ab20fc0a6d773263fcdea] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.10-image?expand=0&rev=6 --- Dockerfile | 8 ++------ _service | 7 ++----- python-3.10-image.changes | 5 +++++ 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index c1c4497..e250333 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ #!BuildTag: opensuse/bci/python:latest #!BuildTag: opensuse/bci/python:3.10-%RELEASE% #!BuildTag: opensuse/bci/python:3 + FROM opensuse/tumbleweed:latest MAINTAINER openSUSE (https://www.opensuse.org/) @@ -21,12 +22,7 @@ LABEL org.openbuildservice.disturl="%DISTURL%" LABEL com.suse.release-stage="released" # endlabelprefix - -RUN set -euo pipefail; zypper -n in --no-recommends python310 python310-pip curl git-core python310-wheel; zypper -n clean; rm -rf /var/log/* - +RUN set -euo pipefail; zypper -n in --no-recommends python310-devel python310-pip curl git-core python310-wheel; zypper -n clean; rm -rf /var/log/* ENV PYTHON_VERSION="%%py310_ver%%" ENV PIP_VERSION="%%pip_ver%%" - -RUN set -euo pipefail; ln -s /usr/bin/python3.10 /usr/local/bin/python3; \ - ln -s /usr/bin/pydoc3.10 /usr/local/bin/pydoc \ No newline at end of file diff --git a/_service b/_service index 4ad7faf..d4a5392 100644 --- a/_service +++ b/_service @@ -1,17 +1,14 @@ - + Dockerfile %%py310_ver%% python310-base - - + Dockerfile %%pip_ver%% python310-pip - - \ No newline at end of file diff --git a/python-3.10-image.changes b/python-3.10-image.changes index 1019b61..fa0667c 100644 --- a/python-3.10-image.changes +++ b/python-3.10-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 22 17:13:18 UTC 2022 - Dirk Mueller + +- Add the devel package into the container to prevent dependency issues on updates and stop symlinking python3.10 to python3 (it's the system python) + ------------------------------------------------------------------- Fri Jul 15 11:06:03 UTC 2022 - Dan Čermák