lib/smartcloud/grids/grid-runner/Dockerfile in smartcloud-0.0.36 vs lib/smartcloud/grids/grid-runner/Dockerfile in smartcloud-0.0.37
- old
+ new
@@ -3,10 +3,11 @@
# Setting up group and user
ARG DOCKER_GID
ARG USER_UID
ARG USER_NAME
-RUN adduser --disabled-password --gecos "" --add_extra_groups "$DOCKER_GID" --uid "$USER_UID" "$USER_NAME"
+RUN adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME" && \
+ addgroup --gid "$DOCKER_GID" "$USER_NAME" "docker"
# We need the following:
# - git, because that gets us the git-http-backend CGI script
# - fcgiwrap, because that is how nginx does CGI
# - spawn-fcgi, to launch fcgiwrap and to create the unix socket