We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 066d409 commit 82723dcCopy full SHA for 82723dc
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 -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