Skip to content

Commit

Permalink
fix: experiment with filter-syscalls = false
Browse files Browse the repository at this point in the history
- arm64 build fails with docker/build-push-action@v4
- NixOS/nix#5258
- LnL7/nix-docker#41
  • Loading branch information
cameronraysmith committed Sep 11, 2023
1 parent 9ca514e commit b4e60ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV USER=${USER}
ENV HOME=/home/${USER}
ENV PATH="${HOME}/.nix-profile/bin:${PATH}"
ENV NIX_INSTALL_URL="https://install.determinate.systems/nix"
ENV NIX_INSTALL_ARGS="install linux --extra-conf 'sandbox = false' --init none --no-confirm"
ENV NIX_INSTALL_ARGS="install linux --extra-conf 'sandbox = false' --extra-conf 'filter-syscalls = false' --init none --no-confirm"

# install primary Debian packages
RUN apt update -y && \
Expand All @@ -28,6 +28,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf \
-L ${NIX_INSTALL_URL} | \
sh -s -- install linux \
--extra-conf "sandbox = false" \
--extra-conf "filter-syscalls = false" \
--init none \
--no-confirm

Expand Down

0 comments on commit b4e60ea

Please sign in to comment.