https://github.com/hellojukay/sonar-scanner-docker
sonar scanner image
https://github.com/hellojukay/sonar-scanner-docker
Last synced: 5 months ago
JSON representation
sonar scanner image
- Host: GitHub
- URL: https://github.com/hellojukay/sonar-scanner-docker
- Owner: hellojukay
- License: apache-2.0
- Created: 2019-08-20T03:29:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-20T04:24:11.000Z (almost 7 years ago)
- Last Synced: 2025-06-14T19:36:51.718Z (about 1 year ago)
- Language: Dockerfile
- Size: 68.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sonar-scanner-docker
sonar scanner image , base on jdk8 ,alpine linux.
## usage
```shell
docker run -rm --it hellojukay/sonar-scanner:8-alpine-3.0.3.778 sonar-scanner \
-Dsonar.sources=. \
-Dsonar.projectKey=${projectKey} \
-Dsonar.projectName=${projectName} \
-Dsonar.exclusions=**/*_test.go,**/vendor/** \
-Dsonar.tests=. \
-Dsonar.test.inclusions=**/*_test.go \
-Dsonar.test.exclusions=**/vendor/** \
-Dsonar.go.coverage.reportPaths=coverage.out \
-Dsonar.login=${token} \
-Dsonar.host.url=${sonarHost}
```
## pull
```shell
docker pull hellojukay/sonar-scanner:8-alpine-3.0.3.778
```
## build from source
```shell
make build
```