Switch to Debian-slim base images

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
This commit is contained in:
Johann Hoffmann
2022-08-18 18:24:31 +02:00
parent fb998bccc8
commit 2daf73d00d
3 changed files with 15 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# wait-for-postgres.sh
set -e
@@ -20,7 +20,7 @@ if [ "$1" = '/openwifi/owsub' -a "$(id -u)" = '0' ]; then
if [ "$RUN_CHOWN" = 'true' ]; then
chown -R "$OWSUB_USER": "$OWSUB_ROOT" "$OWSUB_CONFIG"
fi
exec su-exec "$OWSUB_USER" "$@"
exec gosu "$OWSUB_USER" "$@"
fi
exec "$@"