Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Switch the source of the git plugin. (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwz authored Sep 19, 2020
1 parent ac4902e commit 51b89dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions current/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

0 comments on commit 51b89dd

Please sign in to comment.