I'm trying to get a Bazel build working on my MacBook Pro M1 on Monterey, and I'm having a difficult time. When I try to build a docker image, I get go toolchain errors (with --toolchain_resolution_debug='go') that look like this:
Why does it say it rejects an arm64 implementation because it's not x86_64? It seems like there's something broken here.
For reference, here's bazel version:
Bazelisk version: developmentAnd some relevant bits from my WORKSPACE: