Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/byjg/docker-sonar-scanner
A Docker Image for SonarQube Scanner
https://github.com/byjg/docker-sonar-scanner
docker sonar-scanner sonarqube sonarqube-scanner
Last synced: 28 days ago
JSON representation
A Docker Image for SonarQube Scanner
- Host: GitHub
- URL: https://github.com/byjg/docker-sonar-scanner
- Owner: byjg
- Created: 2018-05-25T13:08:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-04T06:04:19.000Z (about 6 years ago)
- Last Synced: 2024-10-19T22:04:53.311Z (3 months ago)
- Topics: docker, sonar-scanner, sonarqube, sonarqube-scanner
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sonar Scanner
This image runs the sonar scanner
# Tags
- 3.2.0, 3.2.0.1227, latest
- 3.1.0, 3.1.0.1141
- 3.0.3, 3.0.3.778
- 3.0.2, 3.0.2.768
- 3.0.1, 3.0.1.733
- 3.0.0, 3.0.0.702
- 2.9.0, 2.9.0.670# Running
## With Default parameters:
```
docker run -it --rm \
-v $PWD:/opt/src \
-v $HOME/.sonar:/root/.sonar \
-e SONAR_SCANNER_OPTS="-Xmx512m" \
byjg/sonar-scanner
```## Passing parameters
```
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
```