fail on install error

This commit is contained in:
Michael Jerger 2023-11-03 11:12:54 +01:00
parent 698b81801b
commit 2bf5e3efc4
5 changed files with 7 additions and 3 deletions

View file

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

View file

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

View file

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

View file

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

View file

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