ehrenb / machina

A scalable and recursive binary analysis pipeline
https://machina.behren.me
2 stars 0 forks source link

issue with build order #13

Closed ehrenb closed 1 year ago

ehrenb commented 1 year ago

'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

ehrenb commented 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
ehrenb commented 1 year ago

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

ehrenb commented 1 year ago

Can try DOCKER_BUILDKIT=0 to temporarily disable this.