Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker/scripts/app-setup-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,14 @@ if id -u ${USERNAME} > /dev/null 2>&1; then
else
# Create user
if [ "${USER_GID}" = "automatic" ]; then
groupadd $USERNAME
groupadd --force $USERNAME
else
groupadd --gid $USER_GID $USERNAME
groupadd --force --gid $USER_GID $USERNAME
fi
if [ "${USER_UID}" = "automatic" ]; then
useradd -s /bin/bash --gid $USERNAME -m $USERNAME
useradd -s /bin/bash --gid $USERNAME -m $USERNAME || true
else
useradd -s /bin/bash --uid $USER_UID --gid $USERNAME -m $USERNAME
useradd -s /bin/bash --uid $USER_UID --gid $USERNAME -m $USERNAME || true
fi
fi

Expand Down