From b4e60ea3a803f97828c0196aec3d3a1bab59054d Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Mon, 11 Sep 2023 11:57:58 -0400 Subject: [PATCH] fix: experiment with `filter-syscalls = false` - arm64 build fails with docker/build-push-action@v4 - https://github.com/NixOS/nix/issues/5258 - https://github.com/LnL7/nix-docker/issues/41 --- testing/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/Dockerfile b/testing/Dockerfile index dc4ebb92..f489da2a 100644 --- a/testing/Dockerfile +++ b/testing/Dockerfile @@ -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 && \ @@ -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