Building Go with Bazel
summary
Bazel is presented as a reproducible, polyglot build system that vendors toolchains, hashes inputs with Merkle trees, and supports shared cache and remote workers; the demo uses Gazelle and rules_go to generate Go BUILD files, produces statically linked Go binaries with an explicit flag, and builds Docker images without running Docker. JavaScript and webpack integration is fragile so the frontend build requires extra tar/mtime work. No open source remote executor exists yet, and cross‑compilation and coverage support are still incomplete.
AI-written summary · about
chapters (14)
- 0:00Start
- 0:01Golang UK CONFERENCE
- 0:47WHAT IS BAZEL
- 1:13CORE CONCEPTS
- 3:05REPEATABILITY VENDORING
- 4:30INCREMENTAL
- 5:19SHARED CACHING
- 6:05REMOTE WORKERS
- 7:09POLYGLOT
- 7:42ALTERNATIVES
- 8:16LET'S BUILD A STARTUP
- 20:10WEBPACK
- 21:19REPEATABLE BUILDS
- 22:28IS IT WORTH IT?








