Skip to content

Commit

Permalink
fix(sonar-scanner-cli): disable jre provisioning due to SonarSource/s…
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshnayak305 committed Jan 31, 2025
1 parent 22078e6 commit f6aad9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hiteshnayak305/sonar-scanner-cli@latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ RUN ${JAVA_HOME}/bin/keytool -import -cacerts -noprompt\
-storepass changeit \
-file /custom.crt

ENV SONAR_SCANNER_OPTS="${SONAR_SCANNER_OPTS} -Dsonar.scanner.keystorePath=${JAVA_HOME}/lib/security/cacerts -Dsonar.scanner.keystorePassword=changeit"
ENV SONAR_SCANNER_OPTS="${SONAR_SCANNER_OPTS} \
-Dsonar.scanner.keystorePath=${JAVA_HOME}/lib/security/cacerts \
-Dsonar.scanner.keystorePassword=changeit \
-Dsonar.scanner.skipJreProvisioning=true"

USER scanner-cli

0 comments on commit f6aad9f

Please sign in to comment.