https://gitlab.com/onepoint/sonar-scanner
The latest tag to use is 3.2.0-jdk11
This image is based on openjdk:11.0.1-jre.
It contains a node V11 and sonar-scanner V3.2.0
The default container command expects the project files to be under folder /data. This folder MUST contain a sonar-project.properties file. That's all.
Please refer to the official documentation.
. Mount source files under /data folder
-v $(pwd):/data
The container expect the infrastructural variables to be passed at runtime instead of being saved in the sonar.properties file.
You must thus pass the following :
sonar.host.url : Where to reach the sonar server instancesonar.login : The user credential to connect to sonardocker run --rm -v $(pwd):/data -e "sonar.host.url=http://172.22.50.31:9000/" sonar-scanner:2.6.1.0
Content type
Image
Digest
Size
273.8 MB
Last updated
almost 8 years ago
docker pull jtama/sonar-scanner:3.2.0-jdk11