[info=d13a996e20752415afe160a6fc490189]

OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.9-image?expand=0&rev=6
This commit is contained in:
Dan Čermák 2022-11-23 09:33:35 +00:00 committed by Git OBS Bridge
parent 8ac84567c2
commit 4d6c6a5efe
2 changed files with 5 additions and 10 deletions

View File

@ -2,6 +2,7 @@
#!BuildTag: opensuse/bci/python:3.9
#!BuildTag: opensuse/bci/python:3.9-%RELEASE%
#!BuildTag: opensuse/bci/python:3
FROM opensuse/tumbleweed:latest
MAINTAINER openSUSE (https://www.opensuse.org/)
@ -20,12 +21,9 @@ LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.release-stage="released"
# endlabelprefix
RUN set -euo pipefail; zypper -n in --no-recommends python39 python39-pip curl git-core python39-wheel; zypper -n clean; rm -rf /var/log/*
RUN set -euo pipefail; zypper -n in --no-recommends python39-devel python39-pip curl git-core python39-wheel; zypper -n clean; rm -rf /var/log/*
ENV PYTHON_VERSION="%%py39_ver%%"
ENV PIP_VERSION="%%pip_ver%%"
RUN set -euo pipefail; ln -s /usr/bin/python3.9 /usr/local/bin/python3; \
ln -s /usr/bin/pydoc3.9 /usr/local/bin/pydoc

View File

@ -5,13 +5,10 @@
<param name="file">Dockerfile</param>
<param name="regex">%%py39_ver%%</param>
<param name="package">python39-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">python39-pip</param>
</service>
</services>