I would suggest taking a look at this thread, where a user has laid out the variables they said to set (SONAR_SCANNER_OPTS and HTTP_PROXY / HTTPS_PROXY)
Once we get you unblocked, we’ll forward this to our docs team as something we might be able to improve.