build: install latest gosu from published image (#3717)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2025-10-17 19:10:00 -05:00
1 parent 998b61de0d
commit 66f26c0ea8
7 files changed
+2 -39

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ if ! isTrue "${SKIP_SUDO:-false}" && [ "$(id -u)" = 0 ]; then
echo 'hosts: files dns' > /etc/nsswitch.conf
fi
exec $(getSudoFromDistro) ${runAsUser}:${runAsGroup} "$(dirname "$0")/start-configuration" "$@"
exec gosu ${runAsUser}:${runAsGroup} "$(dirname "$0")/start-configuration" "$@"
else
exec "$(dirname "$0")/start-configuration" "$@"
fi