Skip to content

mercuriete/docker-sonar-scanner-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-sonar-scanner-example

usage example of docker-sonar-scanner

This tutorial is meant for when you don't have a Contiouns Integration plataform, your IT administrator is an asshole and you need to quick scan your project with sonar locally on your computer.

  1. Create a Dockerfile with this inside in the same folder of your project:

FROM mercuriete/sonar-scanner:onbuild

  1. Have a look into the docker-compose.yml

  2. start a sonar instance somehow.

  3. start the sonar-scanner container. This container tries to scan the code and then it connects to sonar to write report.

About

usage example of docker-sonar-scanner

Resources

License

Stars

Watchers

Forks

Packages

No packages published