buildkite-plugins / docker-compose-buildkite-plugin

🐳⚡️ Run build scripts, and build + push images, w/ Docker Compose
MIT License
171 stars 138 forks source link

Add option to build with `--with-dependencies` #449

Closed mtollie closed 1 month ago

mtollie commented 1 month ago

In compose >= v2.2.4.0 there is a new option --with-dependencies which can be used to "Also build dependencies (transitively)" added in this PR: https://github.com/docker/compose/pull/11290.

Add support for passing this option to docker compose build.

Lots of copy/pasting so I'm not sure if I did this right. And let me know if more context would be helpful.