As one docker container to run the executable which is in the second docker container?

There is a container in which is collected insrumenti to build the project. But to build large-Belgo project need qemu version is 0.10, and for a small part of the qemu 2.0.2. How to traverse the path to the executable in a nearby container?
June 14th 19 at 20:18
3 answers
June 14th 19 at 20:20
Healthy - no way.

Collect a piece of one container, then collect the remainder in another container.
Or all versions of qemu in one container to push.
June 14th 19 at 20:22
June 14th 19 at 20:24
Figuratively:
RUN install qemu-0.10
RUN build part 1
RUN remove qemu-0.10
RUN install qemu-2.0.2
RUN build part 2


In the end, the project will be built. Only the second container is not needed here.
If you really want BDSM to start the build in the second container, it is possible to traverse the project folder between containers across volumes.

Find more questions by tags DevOpsDocker