Skip to content

Commit 559e329

Browse files
author
Hikari Kibo
authored
fix: slap adduser into another RUN
im abusing the word slap today please help me
1 parent b48e227 commit 559e329

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ RUN apt-get update && apt-get install -y \
2626
sudo \
2727
openssl \
2828
locales \
29-
net-tools && \
30-
adduser --disabled-password --ingroup sudo --gecos '' coder && \
29+
net-tools;
30+
31+
RUN adduser --disabled-password --ingroup sudo --gecos '' coder && \
3132
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
3233
echo "user ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/user && \
3334
chmod 0440 /etc/sudoers.d/user;
@@ -39,4 +40,4 @@ USER coder
3940
WORKDIR /home/coder
4041

4142
EXPOSE 8443
42-
ENTRYPOINT ["code-server"]
43+
ENTRYPOINT ["code-server"]

0 commit comments

Comments
 (0)