From f3637300a8644a82d225493de671f1091ac1861759baf8d0f53efa705276169a 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=05a4d7d3f8760796771611c8b7babff2] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.10-image?expand=0&rev=87 --- Dockerfile | 5 +++-- python-3.10-image.changes | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 22b8204..b771b13 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 python310-devel python310 python310-pip curl git-core python310-wheel; zypper -n clean; rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends python310-devel python310 python310-pip curl git-core python310-wheel python310-pipx; zypper -n clean; rm -rf /var/log/* ENV PYTHON_VERSION="%%py310_ver%%" +ENV PATH="$PATH:/root/.local/bin" ENV PIP_VERSION="%%pip_ver%%" -RUN set -euo pipefail; ln -s /usr/bin/python3.10 /usr/local/bin/python3; \ +RUN set -euo pipefail; install -d -m 0755 /root/.local/bin; ln -s /usr/bin/python3.10 /usr/local/bin/python3; \ ln -s /usr/bin/pydoc3.10 /usr/local/bin/pydoc diff --git a/python-3.10-image.changes b/python-3.10-image.changes index b1bfca3..c9a31a2 100644 --- a/python-3.10-image.changes +++ b/python-3.10-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 + ------------------------------------------------------------------- Thu Jul 6 08:16:35 UTC 2023 - Dirk Mueller