diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index b26caf6..c82801f 100644 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -6,7 +6,7 @@ echo "gitbucket user id: $USER_ID" if ! id -u gitbucket >/dev/null 2>&1; then echo "create gitbucket user" - adduser -u $USER_ID --disabled-password --gecos '' --home ${GITBUCKET_HOME} gitbucket + adduser -u $USER_ID -D -g '' -h ${GITBUCKET_HOME} gitbucket fi # update user rights