From 2fff0ea881b16e283bd928a7817320a28cdbba626551d409409a5d107955d27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 27 Apr 2022 12:52:41 +0000 Subject: [PATCH] fix package names OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.10-image?expand=0&rev=2 --- Dockerfile | 4 +++- _service | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0fe98e6..1dded34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file diff --git a/_service b/_service index 3c27f09..4ad7faf 100644 --- a/_service +++ b/_service @@ -4,13 +4,13 @@ Dockerfile %%py310_ver%% - python3-base + python310-base Dockerfile %%pip_ver%% - python3-pip + python310-pip