From 7191bb40cba49a9b1843cc64e0c3ed06b4b1b5053804c4bdb900ff12abc9195c Mon Sep 17 00:00:00 2001 From: Alexander Herzig Date: Wed, 4 May 2022 07:59:58 +0000 Subject: [PATCH] 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 --- Dockerfile | 4 ++-- python-3.10-image.changes | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dee5275..e879e8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file diff --git a/python-3.10-image.changes b/python-3.10-image.changes index 473a0f4..19cf28d 100644 --- a/python-3.10-image.changes +++ b/python-3.10-image.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue May 3 08:51:18 UTC 2022 - Dan Čermák + +- Use set -euo pipefail in every RUN command, use ; instead of && to prevent masking failures