-
Notifications
You must be signed in to change notification settings - Fork 280
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
fix: update binfmt version to 0.8 to resolve bugs #931
Conversation
Thanks for opening this pull request @jessebye 😄 I think I’ve run into similar issues trying to adopt multi-arch builds for our I have it working for
Could you shed some light on what this pull request changes that resolves the cross-platform bugs you’re seeing? I’m also wondering if it’s possible to fix it with the existing qemu script we invoke just above, either with modified args or a newer version? |
@keithduncan Ah, yeah that looks just like the errors we're seeing too! For example, here's one we were seeing:
Looks pretty much identical. This Alpine issue comment indicates that the error happens when using Docker's built-in, outdated qemu version. By running HOWEVER, after testing the change in my PR, I found it wasn't actually effective. Running the Instead, I now have a step in our build script before the I'd love to find a better solution that doesn't require running that every time though. |
Here's one other issue I've found on Debian images that include
I found this thread which seems to mention old qemu versions being part of the problem. It looks like that I tried an alternate |
Update binfmt version to resolve bugs when using
docker buildx
for cross-platform builds. See for example: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12406