Open jimetevenard opened 4 years ago
Something like the following :
FROM sonarqube:lts-community
ENV SONAR_SXL_VERSION=1.0.0-RC1
USER root
RUN wget https://github.com/sonar-xsl/Sonar-XSL-Plugin/releases/download/v${SONAR_SXL_VERSION}/sonar-xsl-plugin-${SONAR_SXL_VERSION}.jar \
&& mv sonar-xsl-plugin-${SONAR_SXL_VERSION}.jar /opt/sonarqube/extensions/plugins/
USER sonarqube
FROM the official Sonarqube COPY the jar from
$THIS_REPO/sonar-xsl-plugin/target
into/opt/sonarqube/extensions/plugins/
Pretty simple.