Open
Description
Description
Today, a docker compose file can service as a bake file. This is great when you already use a docker compose file for your build spec, but docker bake allows for much more robust and complex build configurations than what compose supports.
Now that Bake is GA, it would be great if we could instead specify a bake file and target as the build spec for a compose service. This would allow for much richer build definitions that are shared across development and production, while still allowing existing docker compose workflows to run as is.
Put another way, it would be wonderful if docker compose up --build
could invoke a Bake build rather than only being able to reference a standard Dockerfile.