8000
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 34b8d2e commit 6f8493eCopy full SHA for 6f8493e
ci/release-image/Dockerfile
@@ -31,7 +31,10 @@ RUN sed -i "s/# en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen \
31
&& locale-gen
32
ENV LANG=en_US.UTF-8
33
34
-RUN adduser --gecos '' --disabled-password coder \
+RUN if grep -q 1000 /etc/passwd; then \
35
+ userdel -r "$(id -un 1000)"; \
36
+ fi \
37
+ && adduser --gecos '' --disabled-password coder \
38
&& echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd
39
40
RUN ARCH="$(dpkg --print-architecture)" \
0 commit comments