Dan Čermák 2022-04-27 12:52:41 +00:00 committed by Git OBS Bridge
parent cb6c8f8392
commit 2fff0ea881
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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>