1
0

[info=60e957d5a32ab20fc0a6d773263fcdea]

OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.10-image?expand=0&rev=6
This commit is contained in:
Dan Čermák 2022-11-23 09:33:27 +00:00 committed by Git OBS Bridge
parent e33b8cdcc7
commit d9c14b8c75
3 changed files with 9 additions and 11 deletions

View File

@ -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

View File

@ -5,13 +5,10 @@
<param name="file">Dockerfile</param>
<param name="regex">%%py310_ver%%</param>
<param name="package">python310-base</param>
</service>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%pip_ver%%</param>
<param name="package">python310-pip</param>
</service>
</services>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 22 17:13:18 UTC 2022 - Dirk Mueller <dmueller@suse.com>
- 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 <dcermak@suse.com>