mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-13 23:02:17 +00:00
fix: don't try to create a new user if the Docker user is not root (#71)
This commit is contained in:
@@ -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..."
|
echo "Creating user and group..."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user