This image runs the sonar scanner
docker run -it --rm \
-v $PWD:/opt/src \
-v $HOME/.sonar:/root/.sonar \
-e SONAR_SCANNER_OPTS="-Xmx512m" \
byjg/sonar-scanner
docker run -it --rm \
-v $PWD:/opt/src \
-v $HOME/.sonar:/root/.sonar \
-e SONAR_SCANNER_OPTS="-Xmx512m" \
byjg/sonar-scanner \
-Dsonar.projectKey=my-project-key \
-Dsonar.sources=. \
-Dsonar.host.url=http://localhost:9000
Content type
Image
Digest
Size
72 MB
Last updated
about 6 years ago
docker pull byjg/sonar-scanner