Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building in ARM or aarch64 failed because unable to load seccomp #26

Closed
lucernae opened this issue Feb 6, 2023 · 2 comments
Closed

Comments

@lucernae
Copy link
Owner

lucernae commented Feb 6, 2023

Error shown when running the Dockerfile build (either using buildx or build)

docker buildx build --platform linux/arm64/v8 .
error: unable to load seccomp BPF program: Invalid argument
@lucernae
Copy link
Owner Author

lucernae commented Feb 6, 2023

I have no idea what happened, but found this issue: NixOS/nix#5258
Seems that the BPF filter failed.
I'm currently running the build inside Apple Silicon -> rancher desktop -> lima vm/moby -> docker buildx -> Dockerfile statement

Need to test if the build only failed in this condition.

@lucernae
Copy link
Owner Author

lucernae commented Sep 4, 2023

Fixed by including filter-syscalls = false in the build pipeline.
Fixed in v1.1.0

@lucernae lucernae closed this as completed Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant