Convenience wrapper around the SonarQube Scanner CLI
493
Dockerfile linksThis image packages up the Sonar Scanner CLI utility to make it easier to run on any machine
Simply volume mount the root of your project directory (which should contain a sonar-project.properties file) like this. You may optionally mount a volume to /root/.sonar to speed up subsequent builds (avoiding cost of downloading plugin .jar's each time)
docker run --rm -it \
-v /path/to/my/project/on/host:/project \
-v sonar-cache:/root/.sonar \
sonar-scanner
Content type
Image
Digest
Size
77.3 MB
Last updated
over 8 years ago
docker pull developertown/sonar-scanner