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

incompatible with archlinux image on github actions #1995

Closed
ejose19 opened this issue Feb 24, 2021 · 5 comments
Closed

incompatible with archlinux image on github actions #1995

ejose19 opened this issue Feb 24, 2021 · 5 comments

Comments

@ejose19
Copy link

ejose19 commented Feb 24, 2021

Running docker buildx build results in failures related to actions/runner-images#2698, actions/runner-images#2658 & https://bugs.archlinux.org/task/69563.

I'm aware of the workaround of using latest runc as in actions/runner-images#2698 (comment), and even setting --oci-worker-binary=/usr/local/sbin/runc to not avail.

Bear in mind that docker build is able to work properly (with latest runc), so the issue must be related with buildx.

@tonistiigi
Copy link
Member

Latest buildkit version should not have issues except for 32bit platforms that need #1955 afaik. https://github.com/moby/buildkit/blob/v0.8/vendor/github.com/docker/docker/profiles/seccomp/default.json#L97 defines fsaccessat2 so new runc is not needed. Runc update in #1998

@ejose19
Copy link
Author

ejose19 commented Feb 24, 2021

I've tried both moby/buildkit:master and moby/buildkit:latest with the same result, here's are the logs of the latest failed run.

I will try again once #1998 is merged to see if the issue is resolved.

@tonistiigi
Copy link
Member

@tonistiigi
Copy link
Member

note that you need --driver-opt image=moby/buildkit atm while we are still validating the release

@ejose19
Copy link
Author

ejose19 commented Feb 25, 2021

Yes, I used driver-opts: image=moby/buildkit:latest in docker/setup-buildx-action@v1 and it seems it solved the issue, thanks @tonistiigi!

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

2 participants