Skip to content

Commit

Permalink
update sonar cli new version (#460)
Browse files Browse the repository at this point in the history
Co-authored-by: ppaul <[email protected]>
  • Loading branch information
pritamstyz4ever and ppaul authored Oct 5, 2023
1 parent 70374f6 commit aaf3594
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN set -x \
&& unzip -q sonarscanner-cli-any.zip \
&& mv sonar-scanner-*-any sonarscanner-cli-macosx-arm64 \
# Cleanup
&& rm -rf /opt/sd/sonarscanner-cli-any.zip /opt/sd/sonar-scanner-*-any
&& rm -rf /opt/sd/sonarscanner-cli-any.zip /opt/sd/sonar-scanner-*

# Install common dependencies by target architcture
FROM base-${TARGETARCH} AS final
Expand Down Expand Up @@ -144,8 +144,8 @@ RUN set -x \
&& chmod +x /usr/local/bin/dumb-init \
&& cp /usr/local/bin/dumb-init /opt/sd/dumb-init \
# Install Sonar scanner cli
&& wget -O sonarscanner-cli-linux.zip "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.2.2472-linux.zip" \
&& wget -O sonarscanner-cli-macosx.zip "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.2.2472-macosx.zip" \
&& wget -O sonarscanner-cli-linux.zip "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-5.0.1.3006-linux.zip" \
&& wget -O sonarscanner-cli-macosx.zip "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-5.0.1.3006-macosx.zip" \
&& unzip -q sonarscanner-cli-linux.zip \
&& unzip -q sonarscanner-cli-macosx.zip \
&& mv sonar-scanner-*-linux sonarscanner-cli-linux \
Expand Down

0 comments on commit aaf3594

Please sign in to comment.