For the docker image, currently the script has a limited set of flags that can be passed as arguments and the rest can only be read if a properties file is provided. Would be really helpful if you can pass any other supported args by replacing in the bash file used as entry point:
sonar-scanner "${args[@]}"
with
sonar-scanner $@ "${args[@]}"