From 94909a17deb7062cbf2c2b9469f37bd11b66524c003228c4529603ffe76aa526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Mon, 25 Sep 2023 16:18:51 +0000 Subject: [PATCH] [info=8ca6b09c5f6d8d383484ec77c7111b1f] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.9-image?expand=0&rev=87 --- Dockerfile | 5 +++-- python-3.9-image.changes | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 06b2781..0058ab0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,10 @@ LABEL org.opensuse.release-stage="released" # endlabelprefix -RUN set -euo pipefail; zypper -n in --no-recommends python39-devel python39 python39-pip curl git-core python39-wheel; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends python39-devel python39 python39-pip curl git-core python39-wheel python39-pipx; zypper -n clean; rm -rf /var/log/* ENV PYTHON_VERSION="%%py39_ver%%" +ENV PATH="$PATH:/root/.local/bin" ENV PIP_VERSION="%%pip_ver%%" -RUN set -euo pipefail; ln -s /usr/bin/python3.9 /usr/local/bin/python3; \ +RUN set -euo pipefail; install -d -m 0755 /root/.local/bin; ln -s /usr/bin/python3.9 /usr/local/bin/python3; \ ln -s /usr/bin/pydoc3.9 /usr/local/bin/pydoc diff --git a/python-3.9-image.changes b/python-3.9-image.changes index efd1752..dfd81da 100644 --- a/python-3.9-image.changes +++ b/python-3.9-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 25 11:06:18 UTC 2023 - Dirk Mueller + +- Add /root/.local/bin to PATH, jsc#PED-5573 + ------------------------------------------------------------------- Fri Jun 23 15:33:33 UTC 2023 - Dirk Mueller