Skip to content

Commit db403f4

Browse files
committed
fixed user
1 parent 111091f commit db403f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ ARG CI_USER=ci
9191
ENV PATH="${PATH}:/home/${CI_USER}/.local/bin/"
9292

9393
# 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} && \
94+
RUN groupadd -f -g 1000 ${CI_USER} && \
95+
useradd --non-unique -m -u 1000 -g 1000 -d /home/${CI_USER} -s /bin/bash ${CI_USER} && \
9696
usermod -a -G adm,cdrom,sudo,dip,plugdev ${CI_USER} && \
9797
echo "${CI_USER}:${CI_USER}" | chpasswd && \
9898
echo "${CI_USER} ALL=(ALL:ALL) ALL" >> /etc/sudoers

0 commit comments

Comments
 (0)