Hi as much as I like your layout, I suspect it can not work properly if some of the dependencies declared in the composer.json require php extensions.
I can install those php extensions in the php container, but the compose script is run by a php binary in the composer container which does not know about extensions installed in php container ...
Do you think this can be patched somehow ?