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