Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

E2E docker doesn't build locally #237

Closed
hansl opened this issue Sep 15, 2022 · 0 comments · Fixed by #239
Closed

E2E docker doesn't build locally #237

hansl opened this issue Sep 15, 2022 · 0 comments · Fixed by #239
Assignees
Labels
bug Something isn't working docker

Comments

@hansl
Copy link
Contributor

hansl commented Sep 15, 2022

I get a Nix error running make start-nodes on Mac OS:

error: unable to load seccomp BPF program: Invalid argument

image

UName: Darwin Gretl-6.localdomain 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64

Additional notes:

Searching for the error I get NixOS/nix#5258 which has an alleged fix: filter-syscalls = false. Not sure where that goes.

@fmorency fmorency added bug Something isn't working docker labels Sep 16, 2022
Denommus added a commit that referenced this issue Sep 22, 2022
* Improvements for the E2E Docker on MacOS

Fixes #237

* Update Cargo.nix

* Always regenerate Cargo.nix

* filter-syscalls = false on cargo2nix as well

* Making sure it fails when a command fails

* Run nproc over docker

* Improve scripts

* Use a more stable nix image. Fixes #234

* Update Cargo.nix

* Updating Cargo.nix now needs to be explicit
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working docker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants