Skip to content

Commit

Permalink
Merge pull request #667 from SUSE/for-deploy-5
Browse files Browse the repository at this point in the history
🤖: Update build recipes for SP5
  • Loading branch information
dirkmueller authored Sep 25, 2023
2 parents 81695a0 + 15c8f47 commit 0958eb5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python-3.11-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ LABEL com.suse.release-stage="released"

RUN set -euo pipefail; zypper -n in --no-recommends python311-devel python311 python311-pip curl git-core; zypper -n clean; rm -rf /var/log/*
ENV PYTHON_VERSION="%%py311_ver%%"
ENV PATH="$PATH:/root/.local/bin"
ENV PIP_VERSION="%%pip_ver%%"

RUN set -euo pipefail; ln -s /usr/bin/python3.11 /usr/local/bin/python3; \
RUN set -euo pipefail; install -d -m 0755 /root/.local/bin; ln -s /usr/bin/python3.11 /usr/local/bin/python3; \
ln -s /usr/bin/pydoc3.11 /usr/local/bin/pydoc
5 changes: 5 additions & 0 deletions python-3.11-image/python-3.11-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 25 11:06:37 UTC 2023 - Dirk Mueller <[email protected]>

- Add /root/.local/bin to PATH, jsc#PED-5573

-------------------------------------------------------------------
Fri Sep 22 09:32:25 UTC 2023 - Dirk Mueller <[email protected]>

Expand Down
2 changes: 2 additions & 0 deletions python-3.6-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ LABEL com.suse.release-stage="released"

RUN set -euo pipefail; zypper -n in --no-recommends python3-devel python3 python3-pip curl git-core python3-wheel; zypper -n clean; rm -rf /var/log/*
ENV PYTHON_VERSION="%%py36_ver%%"
ENV PATH="$PATH:/root/.local/bin"
ENV PIP_VERSION="%%pip_ver%%"

RUN set -euo pipefail; install -d -m 0755 /root/.local/bin
5 changes: 5 additions & 0 deletions python-3.6-image/python-3.6-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 25 11:06:37 UTC 2023 - Dirk Mueller <[email protected]>

- Add /root/.local/bin to PATH, jsc#PED-5573

-------------------------------------------------------------------
Fri Sep 22 09:32:25 UTC 2023 - Dirk Mueller <[email protected]>

Expand Down

0 comments on commit 0958eb5

Please sign in to comment.