Making Reproducible Builds Faster with Docker Bake
summary
Honeycomb replaces multi-step workspace copying with Docker Bake plus BuildKit to keep outputs on one worker and chain targets, eliminating writing ~3 GB per job and reducing CI IO by 90% less data transferred. Builds drop from ~12–14 minutes to around 7 minutes on average, and total builds scale from ~500 to ~1,000 per week while CI costs stay flat. Also shows tracing via OpenTelemetry from buildx and tradeoffs using M4-like ephemeral VMs with warm-cache 3m / cold-cache 5m / overloaded 10m behavior.
AI-written summary · about
chapters (10)
- 0:00Slow builds frustration
- 3:27Tracing build bottlenecks
- 5:35CircleCI build slowness
- 8:21Docker Bake optimizations
- 11:11BuildKit native tracing
- 12:37Results and regression
- 13:42Namespace Labs speedup
- 16:52Developer behavior changes
- 17:36AI impact on builds
- 19:21Key takeaways
related talks
39mAbusing Docker builds with BuildKit and friends
28mWhat's New in Docker Build
45mDocker Bake, elegance and standardization for building your Docker images
58mOptions Galore to Get from Source Code to Container
50mHowto: Options Galore to Get from Source Code to Container
15mOptimizing Cache Usage in Docker Builds
29mHow to Improve Your Image Builds Using Advance Docker Build
24mSpeeding up Your Docker Image Build
