You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is caused by the rule: rules_docker and go_image (possibly other language-specific rules as well)
Is this a regression?
Not sure
Description
When running a go_image target from a darwin/arm64 machine (M1 Pro CPU), the target container image is always built for linux/amd64. Below are key snippets
There is no build error, but when the image is loaded onto the Docker daemon, it shows 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
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days.
Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_docker!
🐞 bug report
Affected Rule
The issue is caused by the rule:
rules_docker
andgo_image
(possibly other language-specific rules as well)Is this a regression?
Not sure
Description
When running a
go_image
target from adarwin/arm64
machine (M1 Pro CPU), the target container image is always built forlinux/amd64
. Below are key snippets🔬 Minimal Reproduction
https://github.com/c16a/rules-docker-arm64-reproduction
🔥 Exception or Error
There is no build error, but when the image is loaded onto the Docker daemon, it shows the following warning
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_docker version:
Docker version
The text was updated successfully, but these errors were encountered: