Cannot run program "/usr/bin/x86_64-linux-gnu-g++-7"

Hi I recently tried to integrate into Godot SonarCloud(I used free online Gitlab integration for open source projects), but I came across several problems(or bugs).

Now I’m getting strange error

ERROR: Error during SonarQube Scanner execution
java.lang.IllegalStateException: java.io.IOException: Cannot run program "/usr/bin/x86_64-linux-gnu-g++-7" (in directory "/builds/qarmin/godot"): error=2, No such file or directory

I’m using Ubuntu latest docker image in my runner.
I don’t know why this error is shown, because I checked Ubuntu 18.04 WSL and I have this file inside it.

Here you can find
Gitlab CI file - https://gitlab.com/qarmin/godot/-/blob/master/.gitlab-ci.yml
Sonarcloud Properties - https://gitlab.com/qarmin/godot/-/blob/master/sonar-project.properties
Job in pipeline which have failed - https://gitlab.com/qarmin/godot/-/jobs/441381061 (output is polluted with find command which I execute because I found that SonarQube doesn’t add bin/ folder to cache)

Hi @qarmin,

the build and the analysis should run at the same operating system layer, in case of Docker, if you are building inside Docker you should also run the analysis from the same container.