Version of l.gcr.io/google/bazel that works on docker_desktop on apple silicon (m1).
1.5K
The proposed fix in https://github.com/bazelbuild/bazel/pull/14391 didn't work for me. There is at least one serious system bug in the base-image used by bazel, which causes more than one problem for m1. Not only does bazel not work, but javac doesn't work either. The bug appears even with rosetta2 emulation.
So I instead built bazel from source off an arm64 ubuntu20 base image, and packaged it the same way as the bazel container. This should be a drop-in replacement for l.gcr.io/google/bazel
Content type
Image
Digest
Size
709.1 MB
Last updated
over 4 years ago
docker pull jkub/bazel_m1