We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7f4bb4 commit 137c10dCopy full SHA for 137c10d
contrib/containers/ci/ci-slim.Dockerfile
@@ -123,7 +123,7 @@ RUN set -ex; \
123
ARG USER_ID=1000 \
124
GROUP_ID=1000
125
RUN set -ex; \
126
- getent group ${GROUP_ID} || groupmod -g ${GROUP_ID} -n dash ubuntu; \
+ (getent group ${GROUP_ID} && usermod -a -G ${GROUP_ID} ubuntu) || groupmod -g ${GROUP_ID} -n dash ubuntu; \
127
usermod -u ${USER_ID} -md /home/dash -l dash ubuntu; \
128
chown ${USER_ID}:${GROUP_ID} -R /home/dash; \
129
mkdir -p /src/dash && \
0 commit comments