We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 111091f commit db403f4Copy full SHA for db403f4
1 file changed
docker/Dockerfile
@@ -91,8 +91,8 @@ ARG CI_USER=ci
91
ENV PATH="${PATH}:/home/${CI_USER}/.local/bin/"
92
93
# Dev user for inside the container
94
-RUN groupadd -g 1000 ${CI_USER} && \
95
- useradd -m -u 1000 -g 1000 -d /home/${CI_USER} -s /bin/bash ${CI_USER} && \
+RUN groupadd -f -g 1000 ${CI_USER} && \
+ useradd --non-unique -m -u 1000 -g 1000 -d /home/${CI_USER} -s /bin/bash ${CI_USER} && \
96
usermod -a -G adm,cdrom,sudo,dip,plugdev ${CI_USER} && \
97
echo "${CI_USER}:${CI_USER}" | chpasswd && \
98
echo "${CI_USER} ALL=(ALL:ALL) ALL" >> /etc/sudoers
0 commit comments