I have docker images containing different versions of gcc compiler. How would I build a simple c++ hello-world application multiple times, using each docker image as the execution-platform. There doesn’t appear to be any clear examples of how to construct this using toolchains, and its unclear if you are expected to inherit aspects of existing cc rules or if you need to build rules and toolchains from scratch.
Realistically I am trying to inject docker run commands in front of calls to g++ (or other compiler) toolchain
user2429194 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.