Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Update scanner version to v5.0.1.3006 (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-diez-sonarsource authored Aug 31, 2023
1 parent 9842d74 commit 21a05f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .cirrus/nodejs.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ FROM ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com/base:j17-latest
USER root

ARG NODE_VERSION=18
ARG SCANNER_VERSION=5.0.1.3006

RUN apt-get update && apt-get install -y nodejs=${NODE_VERSION}.*

RUN curl "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7.0.2747.zip" -o /tmp/sonar-scanner.zip \
RUN curl "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SCANNER_VERSION}.zip" -o /tmp/sonar-scanner.zip \
&& unzip -d /opt /tmp/sonar-scanner.zip \
&& mv /opt/sonar-scanner-4.7.0.2747 /opt/sonar-scanner \
&& mv /opt/sonar-scanner-${SCANNER_VERSION} /opt/sonar-scanner \
&& rm /tmp/sonar-scanner.zip

USER sonarsource
Expand Down

0 comments on commit 21a05f8

Please sign in to comment.