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
{{ message }}
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
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
🐞 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: