From 51b89dd6c8d8ce8f0cf835d5a0b9079fd5f294c3 Mon Sep 17 00:00:00 2001 From: Michael Wizner Date: Sun, 20 Sep 2020 00:36:41 +0100 Subject: [PATCH] Switch the source of the git plugin. (#29) --- current/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/current/Dockerfile b/current/Dockerfile index ea186ba..5033be5 100644 --- a/current/Dockerfile +++ b/current/Dockerfile @@ -5,13 +5,13 @@ FROM bitnami/minideb:stretch RUN install_packages curl ca-certificates ENV SONAR_SCALA_VERSION 8.5.0 -ENV GIT_PLUGIN_VERSION 1.11.1.2008 +ENV GIT_PLUGIN_VERSION 1.12.0.2034 ENV SQ_EXTENSIONS_DIR "/opt/sonarqube/extensions" RUN groupadd -g 1000 -r sonarqube && useradd -r -g sonarqube sonarqube RUN curl --create-dirs -L -o "${SQ_EXTENSIONS_DIR}/plugins/sonar-scala-plugin-${SONAR_SCALA_VERSION}.jar" \ "https://dl.bintray.com/mwz/maven/com/github/mwz/sonar-scala_2.13/${SONAR_SCALA_VERSION}/sonar-scala_2.13-${SONAR_SCALA_VERSION}-assembly.jar" && \ curl --create-dirs -L -o "${SQ_EXTENSIONS_DIR}/plugins/sonar-scm-git-plugin-${GIT_PLUGIN_VERSION}.jar" \ - "https://repo1.maven.org/maven2/org/sonarsource/scm/git/sonar-scm-git-plugin/${GIT_PLUGIN_VERSION}/sonar-scm-git-plugin-${GIT_PLUGIN_VERSION}.jar" && \ + "https://binaries.sonarsource.com/Distribution/sonar-scm-git-plugin/sonar-scm-git-plugin-${GIT_PLUGIN_VERSION}.jar" && \ chown -R sonarqube:sonarqube /opt/sonarqube && \ chmod 777 $SQ_EXTENSIONS_DIR/plugins/*