What's New in Docker Build
summary
Covers concrete BuildKit and buildx features you can start using: multi-line shell heredocs in Dockerfiles, stable build mounts (bind, cache, secrets/SSH) that speed incremental builds, and GitHub Actions remote cache cutting an example build from 9s to 3s (~67% faster). Introduces copy --link behavior to avoid invalidating subsequent layers, metadata export for build provenance, named build contexts and buildx bake for multi-Dockerfile pipelines, plus OpenTelemetry tracing and improved error source maps.
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:38Build repositories
- 3:52A Dockerfile in the wild
- 4:49Using Here-Docs (2/2)
- 5:58Go further with Here-Docs
- 6:31Build mounts
- 7:08Build mount types
- 9:42Docker GitHub Actions
- 10:09Basic workflow
- 11:21Set GitHub Cache Backend
- 18:03Key points
- 18:34Build info structure
- 19:24Pushing metadata
- 20:45What is build context?
- 25:52OpenTelemetry in Buildx
- 26:23Better errors support
related talks
39mAbusing Docker builds with BuildKit and friends
45mDocker Bake, elegance and standardization for building your Docker images
29mHow to Improve Your Image Builds Using Advance Docker Build
15mOptimizing Cache Usage in Docker Builds
21mMaking Reproducible Builds Faster with Docker Bake
58mOptions Galore to Get from Source Code to Container
50mHowto: Options Galore to Get from Source Code to Container
54mHowto: Options Galore to Get from Source Code to Container
