#docker-sonar-runner ### How to build > docker build -t docker-internal.alfresco.com/docker-sonar-scanner . ### Usage Copy the project settings file to your project ``` cp sample/sonar.project.settings.properties ``` Edit the file with your configuration: ``` sonar.projectKey=org.alfresco:console-frontend sonar.projectName=Console Frontend sonar.projectVersion=0.0.1 # /tmp is mandatory sonar.sources=/tmp/dist # Optional # sonar.exclusions=/tmp/dist/vendor/** ``` Start the scan ``` docker run -v $PWD:/tmp docker-internal.alfresco.com/docker-sonar-scanner:2.6.1 ```