Closed ehrenb closed 1 year ago
due to this inconsistency, may want to switch to the following build command:
docker compose build base-alpine base-ubuntu && docker compose build
This is likely due to an issue with buildkit, which was introduced in the new docker compose.
https://github.com/docker/compose/issues/9939 https://github.com/docker/compose/issues/8649 https://github.com/docker/compose/issues/8804
Can try DOCKER_BUILDKIT=0 to temporarily disable this.
'depends_on' does not guarantee build order in compose anymore. according to https://github.com/docker/compose/issues/6332#issuecomment-991587149 , when parallel builds were introduced it stopped being dependable. also see https://github.com/docker/compose/issues/8538