[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:
parent
8ac84567c2
commit
4d6c6a5efe
@ -2,6 +2,7 @@
|
|||||||
#!BuildTag: opensuse/bci/python:3.9
|
#!BuildTag: opensuse/bci/python:3.9
|
||||||
#!BuildTag: opensuse/bci/python:3.9-%RELEASE%
|
#!BuildTag: opensuse/bci/python:3.9-%RELEASE%
|
||||||
#!BuildTag: opensuse/bci/python:3
|
#!BuildTag: opensuse/bci/python:3
|
||||||
|
|
||||||
FROM opensuse/tumbleweed:latest
|
FROM opensuse/tumbleweed:latest
|
||||||
|
|
||||||
MAINTAINER openSUSE (https://www.opensuse.org/)
|
MAINTAINER openSUSE (https://www.opensuse.org/)
|
||||||
@ -20,12 +21,9 @@ LABEL org.openbuildservice.disturl="%DISTURL%"
|
|||||||
LABEL com.suse.release-stage="released"
|
LABEL com.suse.release-stage="released"
|
||||||
# endlabelprefix
|
# endlabelprefix
|
||||||
|
|
||||||
|
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/*
|
||||||
RUN set -euo pipefail; zypper -n in --no-recommends python39 python39-pip curl git-core python39-wheel; zypper -n clean; rm -rf /var/log/*
|
|
||||||
|
|
||||||
ENV PYTHON_VERSION="%%py39_ver%%"
|
ENV PYTHON_VERSION="%%py39_ver%%"
|
||||||
ENV PIP_VERSION="%%pip_ver%%"
|
ENV PIP_VERSION="%%pip_ver%%"
|
||||||
|
|
||||||
|
|
||||||
RUN set -euo pipefail; ln -s /usr/bin/python3.9 /usr/local/bin/python3; \
|
RUN set -euo pipefail; ln -s /usr/bin/python3.9 /usr/local/bin/python3; \
|
||||||
ln -s /usr/bin/pydoc3.9 /usr/local/bin/pydoc
|
ln -s /usr/bin/pydoc3.9 /usr/local/bin/pydoc
|
3
_service
3
_service
@ -5,13 +5,10 @@
|
|||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="regex">%%py39_ver%%</param>
|
<param name="regex">%%py39_ver%%</param>
|
||||||
<param name="package">python39-base</param>
|
<param name="package">python39-base</param>
|
||||||
|
|
||||||
</service>
|
</service>
|
||||||
<service name="replace_using_package_version" mode="buildtime">
|
<service name="replace_using_package_version" mode="buildtime">
|
||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="regex">%%pip_ver%%</param>
|
<param name="regex">%%pip_ver%%</param>
|
||||||
<param name="package">python39-pip</param>
|
<param name="package">python39-pip</param>
|
||||||
|
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
</services>
|
</services>
|
Loading…
Reference in New Issue
Block a user