fix package names
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.9-image?expand=0&rev=2
This commit is contained in:
parent
68bc898f04
commit
2e4e554d85
@ -24,9 +24,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 python39 python39-pip curl git-core && 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
|
4
_service
4
_service
@ -4,13 +4,13 @@
|
||||
<service name="replace_using_package_version" mode="buildtime">
|
||||
<param name="file">Dockerfile</param>
|
||||
<param name="regex">%%py39_ver%%</param>
|
||||
<param name="package">python3-base</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">python3-pip</param>
|
||||
<param name="package">python39-pip</param>
|
||||
|
||||
</service>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user