Skip to content

Commit

Permalink
devcontainer: disable the syscall filter take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Feb 1, 2025
1 parent a308b69 commit 3f49b4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ RUN apt-get update && \
# Install Nix
# NOTE: The extra conf file does not apply to the install script itself.
# We need to disable the syscall filter beforehand.
RUN NIX_CONFIG='filter-syscalls = false' \
curl -L ${NIX_INSTALL_SCRIPT} | \
RUN mkdir -p -m 0755 /etc/nix
RUN echo "filter-syscalls = false" > /etc/nix/nix.conf
RUN curl -L ${NIX_INSTALL_SCRIPT} | \
sh -s -- \
--daemon \
--no-channel-add \
Expand Down

0 comments on commit 3f49b4a

Please sign in to comment.