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:
parent
a36edabb08
commit
450cd67de7
@ -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/*
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user