Skip to content

Commit 8cf82d4

Browse files
committed
Update SONAR_SCANNER_VERSION
1 parent 5865fab commit 8cf82d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/scanner/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ ARG SONAR_SCANNER_DIR=$HOME/.sonar
1010

1111
# Install sonar-scanner
1212
# Check for newer version here: https://binaries.sonarsource.com/?prefix=Distribution/sonar-scanner-cli/
13-
ENV SONAR_SCANNER_VERSION=5.0.1.3006
14-
RUN curl --proto '=https' --create-dirs -sSLo $SONAR_SCANNER_DIR/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
13+
ENV SONAR_SCANNER_VERSION=7.0.2.4839
14+
RUN curl --proto '=https' --create-dirs -sSLo $SONAR_SCANNER_DIR/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux-x64.zip
1515
RUN unzip -qq -o $SONAR_SCANNER_DIR/sonar-scanner.zip -d $SONAR_SCANNER_DIR/
16-
ENV PATH=$PATH:$SONAR_SCANNER_DIR/sonar-scanner-${SONAR_SCANNER_VERSION}-linux/bin
16+
ENV PATH=$PATH:$SONAR_SCANNER_DIR/sonar-scanner-${SONAR_SCANNER_VERSION}-linux-x64/bin
1717
ENV SONAR_SCANNER_OPTS="-server"
1818
RUN sonar-scanner --version
1919

0 commit comments

Comments
 (0)