BuildKit's LLB library provides a curious operation called AddMount that seems to mount sources at points in the resulting image filesystem. If this operation does what it seems to, this would be a powerful way to aggregate MW component images into an integrated image for MW versions.
We should run a small experiment with it and see what the resulting image graph looks like.