summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/docker-entrypoint.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/docker-entrypoint.sh b/build/docker-entrypoint.sh
index b597dab4..7d5f5b2d 100755
--- a/build/docker-entrypoint.sh
+++ b/build/docker-entrypoint.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
+set -eo pipefail
+
# Set distribution family
distro_type=$(cat /etc/*-release | grep -w "ID" | awk -F'=' '{ print $2 }' | tr -d '"')
case "$distro_type" in
@@ -45,7 +47,6 @@ EOF
}
# Getting input parameters
-POSITIONAL=()
if [[ $# -eq 0 ]] ; then
help # show help
exit 0