You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running now docker-compose build will start building. But for some reason sometimes the build doesn't start (depending on service-names?!) with the first key -- which is here "first-service", but instead starts in different order. Starting with "second-service" build will break the whole build.
I've checked this on a practice example for a custom-build and the only work-around on this is to run:
Thanks for the report! I'm closing this as a duplicate of #9232 and #8538, but if I missed something and you believe this is a different case, please let me know and I will look at re-opening.
docker-compose build still ignores services key-order from yaml and
depends_on
.dummy docker-compose.yml to explain the problem:
Running now
docker-compose build
will start building. But for some reason sometimes the build doesn't start (depending on service-names?!) with the first key -- which is here "first-service", but instead starts in different order. Starting with "second-service" build will break the whole build.I've checked this on a practice example for a custom-build and the only work-around on this is to run:
Or for automation the hack for a
docker-compose.sh
could be:The mentioned two work-arounds work for my build, but using regular
docker-compose build
will make it stuck!I think this still is a bug.
The text was updated successfully, but these errors were encountered: