newtmitch / docker-sonar-scanner

Quick sonar scanner docker image
MIT License
129 stars 88 forks source link

update docker run examples to 3.0.3 #31

Closed FrozenSake closed 3 years ago

FrozenSake commented 5 years ago

With the separation of ENTRYPOINT and CMD many of the examples fail on "ERROR: Error during SonarQube Scanner execution ERROR: Tasks support was removed in SonarQube 7.6." This is due to the default ENTRYPOINT being sonar_scanner and the example commands then passing sonar_scanner again. Removing this extraneous call (and leaving the -Dsonar.) handles this issue.