Skip to content

Commit 9417529

Browse files
committed
Fix user
1 parent 4160ad4 commit 9417529

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dogfood/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,6 @@ RUN addgroup --system nixbld \
325325
&& mkdir -m 0755 /nix && chown coder:coder /nix \
326326
&& mkdir -p /etc/nix && echo 'sandbox = false' > /etc/nix/nix.conf
327327

328-
USER coder
329-
330328
# Install Nix
331329
ARG NIX_VERSION=2.3.15
332330
RUN cd /opt \
@@ -351,3 +349,5 @@ ENV GOPRIVATE="coder.com,cdr.dev,go.coder.com,github.com/cdr,github.com/coder"
351349

352350
# Increase memory allocation to NodeJS
353351
ENV NODE_OPTIONS="--max-old-space-size=8192"
352+
353+
USER coder

0 commit comments

Comments
 (0)