We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db403f4 commit 96ba6a7Copy full SHA for 96ba6a7
1 file changed
docker/Dockerfile
@@ -64,8 +64,8 @@ RUN apt-get -y install --fix-missing vim \
64
&& apt-get autoremove -y && apt-get clean
65
66
# Dev user for inside the container
67
-RUN groupadd -g 1000 ${DEV_USER} && \
68
- useradd -m -u 1000 -g 1000 -d /home/${DEV_USER} -s /bin/bash ${DEV_USER} && \
+RUN groupadd -f -g 1000 ${DEV_USER} && \
+ useradd --non-unique -m -u 1000 -g 1000 -d /home/${DEV_USER} -s /bin/bash ${DEV_USER} && \
69
usermod -a -G adm,cdrom,sudo,dip,plugdev ${DEV_USER} && \
70
echo "${DEV_USER}:${DEV_USER}" | chpasswd && \
71
echo "${DEV_USER} ALL=(ALL:ALL) ALL" >> /etc/sudoers
0 commit comments