Sonar scanner fails to create temp files in Gitlab

@kirill-konshin
As this thread becomes really long and the last problem has nothing to do with the initial one how about starting a new thread?

It used to work with this image: https://github.com/ringcentral-docker/web-tools once I switched to official one sonarsource/sonar-scanner-cli:latest I keep getting more and more errors.

I cannot share the source.