-
Notifications
You must be signed in to change notification settings - Fork 54
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
Fails to build in apple M1 #81
Comments
FWIW, https://github.com/tonistiigi/xx may be of help here, but I am not sure. |
I think I found the solution that helps me with same issue.
The link
Here's the same issue as I see: Sorry, just not able to create PR right now, because can't build the image by other reasons. Hope that's helpful :) |
That makes a lot of sense, thank you for analysis - should be pretty simple to fix. |
Summary
I'm unable to compile protos since I got a macbook with an M1.
Steps to Reproduce
I run the following to compile:
Running without
--platform linux/amd64
returns the same error and throws the following warning:WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
What do you see now?
What do you want to see instead?
The protos being compiled.
Environment
MacBook Pro (13-inch, M1, 2020)
Apple M1
macOS Big Sur 11.6
How do you propose to implement this?
Adding an arm image would fix this I think.
Can you do this yourself and submit a Pull Request?
No idea if it is easy to port the dockerfile to also work in arm64
The text was updated successfully, but these errors were encountered: