1
0

Accepting request 974553 from home:dancermak:auto_update:TW

Use set -euo pipefail in every RUN command, use ; instead of && to prevent masking failures

OBS-URL: https://build.opensuse.org/request/show/974553
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.10-image?expand=0&rev=4
This commit is contained in:
Alexander Herzig 2022-05-04 07:59:58 +00:00 committed by Git OBS Bridge
parent cd094ad8f9
commit 7191bb40cb
2 changed files with 6 additions and 2 deletions

View File

@ -25,11 +25,11 @@ LABEL com.suse.release-stage="beta"
# endlabelprefix
RUN set -euo pipefail && zypper -n in --no-recommends 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 python310-pip curl git-core python310-wheel; 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 && \
RUN set -euo pipefail; ln -s /usr/bin/python3.10 /usr/local/bin/python3; \
ln -s /usr/bin/pydoc3.10 /usr/local/bin/pydoc

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue May 3 08:51:18 UTC 2022 - Dan Čermák <dcermak@suse.com>
- Use set -euo pipefail in every RUN command, use ; instead of && to prevent masking failures