I would like to set order/priority of services to be built. depends_on is not solving my problem because some services do not run but their build order matters.
Hi @umrashrf,
This is outside the scope of what Compose sets out to do. The best approach would be to write an external script calling build
on services in the order you want them.
@shin- I'd have the same request, since I'd like to define builds where b
uses FROM a:latest
, but b
gets build before a
.
General question: How is the build order decided?
Most helpful comment
@shin- I'd have the same request, since I'd like to define builds where
b
usesFROM a:latest
, butb
gets build beforea
.General question: How is the build order decided?