SHA256
1
0
forked from pool/init-image

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
This commit is contained in:
Alexander Herzig 2022-05-04 07:54:10 +00:00 committed by Git OBS Bridge
parent a36edabb08
commit 450cd67de7
2 changed files with 5 additions and 1 deletions

View File

@ -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/*

View File

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