From 99be55b7b8e8b71502823ce622807cd1c5d1c7e6 Mon Sep 17 00:00:00 2001 From: Connor Nelson Date: Thu, 5 Sep 2024 15:57:07 -0700 Subject: [PATCH] Remove /dev/kvm and nix seccomp --- docker-compose.yml | 3 +-- workspace/Dockerfile | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b2571eb84..a5fb25aaa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -36,12 +36,11 @@ services: context: ./workspace args: - DOJO_WORKSPACE=${DOJO_WORKSPACE} + platform: linux/amd64 environment: - DOJO_WORKSPACE=${DOJO_WORKSPACE} volumes: - /data/workspace:/out - devices: - - /dev/kvm workspacefs: container_name: workspacefs diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 9e961ffe8..644197ac9 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -9,6 +9,7 @@ experimental-features = nix-command flakes auto-optimise-store = true substituters = /out https://cache.nixos.org/ trusted-substituters = /out +filter-syscalls = false EOF RUN git clone --branch nixos-24.05 --depth 1 https://github.com/NixOS/nixpkgs.git /opt/nixpkgs-24.05