mirror of
https://github.com/ysoftdevs/sonarqube.git
synced 2026-01-11 14:30:53 +01:00
7 lines
620 B
Docker
7 lines
620 B
Docker
FROM sonarqube:8.9.3-community
|
|
|
|
ARG COMMUNITY_BRANCH_VERSION=1.8.1
|
|
|
|
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 |