Docker Bake is Pretty Great

Docker Bake is a newly GA feature of the Docker ecosystem. It provides an HCL-based (with yaml and json options) DSL for defining the parameters of your container build. It also provides some really handy features around parameter validation, so you can clearly communicate to users what things you expect them to provide. On top of that, it includes matrix support to make it significantly easier to build a slew of containers off of a single definition.

None of these things by themselves are revolutionary, but when packaged together and included by default they provide a whole lot of convenience without much of a barrier to entry. I’ve simplified the builds of numerous pipelines with Docker Bake, and if you spend as much time caring for containers as I do I think you’ll like it quite a bit.

Speaker

james-thomas

James Thomas

  

James has been a lifelong enthusiast of technology, and has been lucky enough to be paid to tinker with it for the past 15 years or so. He in particular has a fondness for infrastructure and CI/CD

...