fix package names
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.10-image?expand=0&rev=2
This commit is contained in:
parent
cb6c8f8392
commit
2fff0ea881
@ -25,9 +25,11 @@ LABEL com.suse.release-stage="beta"
|
||||
# endlabelprefix
|
||||
|
||||
|
||||
RUN set -euo pipefail && zypper -n in --no-recommends python3 python3-pip curl git-core python3-wheel && zypper -n clean && rm -rf /var/log/*
|
||||
RUN set -euo pipefail && zypper -n in --no-recommends python310 python310-pip curl git-core && 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
|
4
_service
4
_service
@ -4,13 +4,13 @@
|
||||
<service name="replace_using_package_version" mode="buildtime">
|
||||
<param name="file">Dockerfile</param>
|
||||
<param name="regex">%%py310_ver%%</param>
|
||||
<param name="package">python3-base</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">python3-pip</param>
|
||||
<param name="package">python310-pip</param>
|
||||
|
||||
</service>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user