Commit bebd698e authored by Jan Grewe's avatar Jan Grewe

use alternate sonar-scanner URL

parent 28542d0a
Pipeline #673 passed with stages
in 1 minute and 8 seconds
FROM openjdk:8-alpine
MAINTAINER Jan Grewe <jan@faked.org>
ENV VERSION 3.3.0.1492
ENV VERSION 4.2.0.1873
RUN apk add --no-cache \
curl \
......@@ -16,7 +16,8 @@ RUN apk add --no-cache \
python3-dev \
unzip
RUN curl -skLo /tmp/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${VERSION}-linux.zip \
#RUN curl -sLo /tmp/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${VERSION}-linux.zip \
RUN curl -sLo /tmp/sonar-scanner.zip http://libs.it.ntnu.no/sonarqube/scanner/sonar-scanner-cli-${VERSION}-linux.zip \
&& unzip /tmp/sonar-scanner.zip -d /opt \
&& mv /opt/sonar-scanner-${VERSION}-linux /opt/sonar-scanner \
&& rm /tmp/sonar-scanner.zip
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment