update sonar scanner to version 4.7.0

This commit is contained in:
Guillaume "B.B." Van Hemmen 2022-03-26 19:59:42 +01:00 committed by GitHub
parent cdeaedd7c2
commit a82cef9b3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,6 @@ LABEL maintainer="guillaume@van-hemmen.com"
RUN apt-get update && \
apt-get -y install wget unzip && \
cd /root/ && \
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.3.0.1492-linux.zip && \
unzip sonar-scanner-cli-3.3.0.1492-linux.zip && \
ln -sf /root/sonar-scanner-3.3.0.1492-linux/bin/sonar-scanner /usr/local/bin/sonar-scanner
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7.0.2747-linux.zip && \
unzip sonar-scanner-cli-4.7.0.2747-linux.zip && \
ln -sf /root/sonar-scanner-4.7.0.2747-linux/bin/sonar-scanner /usr/local/bin/sonar-scanner