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