I have several executables that just don't run on your build system (under docker), and no way I can see to debug

There’s always exit status of the last script statement, in $? Bash special variable:

docker exec --workdir c:/Stroika buildContainer sh -c "cd ThirdPartyComponents/WIX/CURRENT/ && ./candle -v; echo $?"

Depending on what product and its version sh in your container belongs to, it may or may not be able to automatically add “.exe” to searched name if you omit it in the command.

Anything beyond that can only be devised from the exit code: Windows has a few standard exit codes for when a process fails to start.


The Error 127 and following messages actually belong to the make command above, due to Stderr output is shown after the build log rather than inline.