initial config

This commit is contained in:
Jakub Vavrik
2021-11-08 17:02:43 +01:00
commit 18ba4368ba
2 changed files with 8 additions and 0 deletions

7
Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM sonarqube:9.1.0-community
ARG COMMUNITY_BRANCH_VERSION=1.9.0
RUN wget https://github.com/mc1arke/sonarqube-community-branch-plugin/releases/download/${COMMUNITY_BRANCH_VERSION}/sonarqube-community-branch-plugin-${COMMUNITY_BRANCH_VERSION}.jar -O /opt/sonarqube/extensions/plugins/sonarqube-community-branch-plugin-${COMMUNITY_BRANCH_VERSION}.jar
ENV SONAR_WEB_JAVAADDITIONALOPTS=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-${COMMUNITY_BRANCH_VERSION}.jar=web
ENV SONAR_CE_JAVAADDITIONALOPTS=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-${COMMUNITY_BRANCH_VERSION}.jar=ce

1
README.md Normal file
View File

@@ -0,0 +1 @@
# Sonarqube CE with [Community Branch Plugin pre-installed](https://github.com/mc1arke/sonarqube-community-branch-plugin)