From bebd698e2ff940740bb279f4dd60fac1155efc45 Mon Sep 17 00:00:00 2001
From: Jan Grewe <jan@faked.org>
Date: Tue, 7 Jan 2020 20:03:46 +0100
Subject: [PATCH] use alternate sonar-scanner URL

---
 Dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index f2443f1..68433e6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 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
-- 
GitLab