Docker: Use common entrypoint.sh script for develop and prod env #2076

This commit is contained in:
Michael Mayer
2022-03-01 13:55:05 +01:00
parent 3eb753a413
commit 3fe573845c
33 changed files with 206 additions and 228 deletions

View File

@@ -16,7 +16,7 @@ fi
TMPDIR=${TMPDIR:-/tmp}
# abort if the user is not root
# abort if not executed as root
if [[ $(id -u) != "0" ]] && [[ $DESTDIR == "/usr" || $DESTDIR == "/usr/local" ]]; then
echo "Error: Run ${0##*/} as root to install in a system directory!" 1>&2
exit 1