depot bake can now build with multiple projects in parallel
Our latest release of the depot
CLI now has a faster way to build
Docker Compose files that was previously not possible.
With a new x-depot
bake extension, you can now specify multiple projects to build in a single depot bake
command. Allowing each project to build in parallel on its own BuildKit builder with its own isolated cache!
Similar to x-bake
the x-depot
key is a Docker Compose extension that allows you to optionally specify the project ID for each service in your docker-compose.yml
file.
Just like before, if you run depot bake -f docker-compose.yaml
all targets are built, but now each project-id
will be built in parallel on its own dedicated builder and cache.