forked from pool/python-3.10-image
[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:
parent
e33b8cdcc7
commit
d9c14b8c75
@ -3,6 +3,7 @@
|
|||||||
#!BuildTag: opensuse/bci/python:latest
|
#!BuildTag: opensuse/bci/python:latest
|
||||||
#!BuildTag: opensuse/bci/python:3.10-%RELEASE%
|
#!BuildTag: opensuse/bci/python:3.10-%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/)
|
||||||
@ -21,12 +22,7 @@ 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 python310-devel python310-pip curl git-core python310-wheel; zypper -n clean; rm -rf /var/log/*
|
||||||
RUN set -euo pipefail; zypper -n in --no-recommends python310 python310-pip curl git-core python310-wheel; zypper -n clean; rm -rf /var/log/*
|
|
||||||
|
|
||||||
ENV PYTHON_VERSION="%%py310_ver%%"
|
ENV PYTHON_VERSION="%%py310_ver%%"
|
||||||
ENV PIP_VERSION="%%pip_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
|
|
3
_service
3
_service
@ -5,13 +5,10 @@
|
|||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="regex">%%py310_ver%%</param>
|
<param name="regex">%%py310_ver%%</param>
|
||||||
<param name="package">python310-base</param>
|
<param name="package">python310-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">python310-pip</param>
|
<param name="package">python310-pip</param>
|
||||||
|
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
</services>
|
</services>
|
@ -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>
|
Fri Jul 15 11:06:03 UTC 2022 - Dan Čermák <dcermak@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user