finalgene/sonar-scanner

Sponsored OSS

By finalgene

Updated over 3 years ago

Sonar scanner for CI

Image
Security
Languages & frameworks
Integration & delivery
1

4.4K

finalgene/sonar-scanner repository overview

Sonar scanner

CircleCI Codacy Badge

This is a image to run the sonar scanner.

How to use this image

Run the sonar-scanner image:

docker run \
    --rm \
    --env SONAR_HOST_URL=<http://sonar.example.com> \
    --env SONAR_LOGIN_TOKEN=<SONAR_ANALYZIS_TOKEN> \
    --volume ~/.sonar:/cache/.sonar \
    --volume "$(pwd)":/app \
    finalgene/sonar-scanner

By default, the SONAR_USER_HOME is defined to store data in /cache/.sonar.
Therefor it will be necessary to mount this directory or overide the environment SONAR_USER_HOME.

For further information take a look at the sonar scanner documentation.

Quick reference

Tag summary

Content type

Image

Digest

sha256:966c1b20b

Size

202.7 MB

Last updated

over 3 years ago

docker pull finalgene/sonar-scanner

This week's pulls

Pulls:

145

Last week