We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c505e8b commit 78e395eCopy full SHA for 78e395e
dogfood/Dockerfile
@@ -312,8 +312,17 @@ COPY --from=go /tmp/bin /usr/local/bin
312
COPY --from=rust-utils /tmp/bin /usr/local/bin
313
COPY --from=proto /tmp/bin /usr/local/bin
314
315
+# Configure Nix without sandboxing - https://github.com/NixOS/nix/issues/2636#issuecomment-455302745
316
+RUN mkdir -p /nix /etc/nix \
317
+ && chmod a+rwx /nix \
318
+ && echo 'sandbox = false' > /etc/nix/nix.conf
319
+
320
321
USER coder
322
323
+# Install Nix
324
+RUN sh <(curl -L https://nixos.org/nix/install) --no-daemon
325
326
# Ensure go bins are in the 'coder' user's path. Note that no go bins are
327
# installed in this docker file, as they'd be mounted over by the persistent
328
# home volume.
0 commit comments