fix: don't try to create a new user if the Docker user is not root (#71)

This commit is contained in:
Chris Danis
2024-11-26 14:19:40 -05:00
committed by GitHub
parent 0b4101ccce
commit 0e95e9c56f

View File

@@ -1,3 +1,6 @@
# If we aren't running as root, just exec the CMD
[ "$(id -u)" -ne 0 ] && exec "$@"
echo "Creating user and group..."