Running Sonar Scanner Inside of a Dockerfile, built via GitLab CI

Yes I gathered that. However in this case, it doesn’t “just work” due to the environment not being the same. I will work it out eventually but I’d rather not have to manually work it out by adding every single GitLab CI variable and then removing them one by one until I have the minimum required set.

I have seen previous answers before with the variables needed listed, but this was an old post and it appears to no longer be the same, at least, I couldn’t make it work with these variables.