Dan Čermák 2022-04-27 12:51:17 +00:00 committed by Git OBS Bridge
parent 68bc898f04
commit 2e4e554d85
2 changed files with 5 additions and 3 deletions

View File

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

View File

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