Sign inSign up

developertown/sonar-scanner

By developertown

Updated over 8 years ago

Convenience wrapper around the SonarQube Scanner CLI

Image
0

493

developertown/sonar-scanner repository overview

Containerized Sonar Scanner

This image packages up the Sonar Scanner CLI utility to make it easier to run on any machine

How to use this image

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)

Example

docker run --rm -it \
  -v /path/to/my/project/on/host:/project \
  -v sonar-cache:/root/.sonar \
  sonar-scanner

Tag summary

Content type

Image

Digest

Size

77.3 MB

Last updated

over 8 years ago

docker pull developertown/sonar-scanner