From a4f048dbf9acbd12ad84f1b2a3f2c11093e20fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Soli=C3=B1o?= Date: Mon, 27 Aug 2018 17:35:19 +0200 Subject: [PATCH 1/2] Rollback to 6.7.5 As current apex plugin is not compatible with 7.x, go back to 6.7.5 until this https://github.com/fundacionjala/enforce-sonarqube-plugin/issues/131 is solved. --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2468c85..3626152 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM sonarqube +FROM sonarqube:6.7.5 MAINTAINER Angel SoliƱo "angel@nuvolar.eu" # create plugin download location; so we can copy them later when SonarQube is started diff --git a/README.md b/README.md index 77ee3d0..f94623b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # docker-sonarqube -Docker image based on default [SonarQube](https://hub.docker.com/_/sonarqube/) with manually installed plugins. +Docker image based on default [SonarQube 6.7.5](https://hub.docker.com/_/sonarqube/) with manually installed plugins. The default provided plugins are kept and some extra plugins are manually downloaded. To add/remove plugins modify the Dockerfile and build your own version. From 5b0efc0965130645b2ac25492de81442de6c1ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Soli=C3=B1o?= Date: Mon, 27 Aug 2018 17:47:41 +0200 Subject: [PATCH 2/2] Temporarly comment-out incompatible plugins --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3626152..8896d21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,11 @@ WORKDIR ${PLUGIN_DOWNLOAD_LOCATION} # - http://downloads.sonarsource.com/plugins/org/codehaus/sonar-plugins/ # - https://sonarsource.bintray.com/Distribution/ # - https://github.com/SonarQubeCommunity/ +#RUN wget https://sonarsource.bintray.com/Distribution/sonar-java-plugin/sonar-java-plugin-4.0.jar RUN wget https://github.com/SonarSource/sonar-auth-bitbucket/releases/download/1.0/sonar-auth-bitbucket-plugin-1.0.jar -RUN wget https://github.com/spotbugs/sonar-findbugs/releases/download/3.7.0/sonar-findbugs-plugin-3.7.0.jar -RUN wget https://github.com/SonarQubeCommunity/sonar-pmd/releases/download/2.6/sonar-pmd-plugin-2.6.jar -RUN wget https://github.com/checkstyle/sonar-checkstyle/releases/download/4.11/checkstyle-sonar-plugin-4.11.jar +#RUN wget https://github.com/spotbugs/sonar-findbugs/releases/download/3.7.0/sonar-findbugs-plugin-3.7.0.jar +#RUN wget https://github.com/SonarQubeCommunity/sonar-pmd/releases/download/2.6/sonar-pmd-plugin-2.6.jar +#RUN wget https://github.com/checkstyle/sonar-checkstyle/releases/download/4.11/checkstyle-sonar-plugin-4.11.jar RUN wget https://dl.bintray.com/fundacionjala/enforce/apex-plugin-1.0b219.jar COPY docker-entrypoint.sh /opt/docker-entrypoint.sh