From 450cd67de7829e4dd88d3551916c0a66af5af725eb232c7ad1d1308a5a0b4948 Mon Sep 17 00:00:00 2001 From: Alexander Herzig Date: Wed, 4 May 2022 07:54:10 +0000 Subject: [PATCH] Accepting request 974575 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/974575 OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/init-image?expand=0&rev=3 --- Dockerfile | 2 +- init-image.changes | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index eb5daeb..6654084 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ LABEL com.suse.release-stage="beta" # endlabelprefix LABEL usage="This container should only be used to build containers for daemons. Add your packages and enable services using systemctl." -RUN set -euo pipefail && zypper -n in --no-recommends systemd gzip && zypper -n clean && rm -rf /var/log/* +RUN set -euo pipefail; zypper -n in --no-recommends systemd gzip; zypper -n clean; rm -rf /var/log/* diff --git a/init-image.changes b/init-image.changes index 473a0f4..dd190ed 100644 --- a/init-image.changes +++ b/init-image.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue May 3 09:09:51 UTC 2022 - Dan Čermák + +- Use set -euo pipefail in every RUN command, use ; instead of && to prevent masking failures