I’ve tried to run the make mesh command with the docker build-tool, but had problems doing that on MacOS - mounts from /etc don’t really work with docker for mac:
-v /etc/passwd:/etc/passwd:ro
-v /etc/passwd:/etc/passwd:ro
-v /etc/localtime:/etc/localtime:ro
-v /etc/timezeone:/etc/timezeone:ro \
the build is indeed fixed on Mac now, but the result is a linux binary that’s not executable on a mac.
To make it work, the go build inside the container should receive env variables for cross-compile (GOOS and GOARCH).
make mesh should either build the binary for all the platforms (darwin, linux and windows) in the container, or the env vars should be passed in the build container from the host OS.
The TLDR is PRs are either merged, in flight, or scheduled to resolve the mac build issues. The operator repo build-tools container trial will be opt-in once these in-flight PRs merge.