Closed lamcw closed 1 year ago
Hey @smukherj1 @DaveGay sorry for the ping, can you PTAL at this PR?
Change looks good but buildkite doesn't seem to like it?
@DaveGay the error is in master as well https://buildkite.com/bazel/bazel-toolchains/builds/26184#0189d288-690f-431f-8e65-12afd8d9526c
Can we merge this and fix the buildifier error in a follow up PR?
When generating configs on a Mac (esp. ones with Apple silicon) using a Linux image, the docker daemon raises a warning
The
rbe_config_gen
expects thedocker create
command to return the container ID (which is 64 characters in length). The above warning breaks the contract and therefore will fail the config generation.A possible solution is to add a
--docker_platform
flag torbe_config_gen
so that when it invokesdocker create
, a matching platform can be used to create the container (e.g.rbe_config_gen --docker_platform=linux/amd64
runsdocker create --rm --platform linux/amd64 ...
).Closes #993