fail on install error

This commit is contained in:
Michael Jerger 2023-11-03 11:13:23 +01:00
parent a1f24d9dfe
commit 23cf8f381a
5 changed files with 7 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -o pipefail
set -eux pipefail
function main() {
file_env AWS_ACCESS_KEY_ID

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -eux pipefail
function main() {
file_env AWS_ACCESS_KEY_ID
file_env AWS_SECRET_ACCESS_KEY

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -eux pipefail
apt-get update > /dev/null;
install -m 0700 /tmp/entrypoint.sh /

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -o pipefail
set -eux pipefail
function main() {
file_env AWS_ACCESS_KEY_ID

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -Eeo pipefail
set -eux pipefail
function main() {