This repository was archived by the owner on Jan 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Alpine image with bundled Scala plugins
2
+ # sonar-scala (https://github.com/mwz/sonar-scala)
3
+ # and sonar-scala-extra (https://github.com/arthepsy/sonar-scala-extra),
4
+ # which can be mounted as a volume into a SonarQube container.
5
+ # This image is intended to be used for local development purposes.
6
+
7
+ FROM alpine:3.7
8
+
9
+ ARG SONAR_SCAPEGOAT_VERSION=1.3.0
10
+ ARG SONAR_SCALA_VERSION
11
+
12
+ RUN apk --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/v3.7/community wget ca-certificates
13
+
14
+ WORKDIR /opt/sonarqube/extensions/plugins
15
+ RUN wget -O "sonar-scapegoat-plugin-${SONAR_SCAPEGOAT_VERSION}.jar" \
16
+ "https://github.com/arthepsy/sonar-scala-extra/releases/download/v${SONAR_SCAPEGOAT_VERSION}/sonar-scapegoat-plugin-${SONAR_SCAPEGOAT_VERSION}.jar"
17
+ ADD sonar-scala_2.12-assembly.jar .
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -eu
3
+
4
+ export SONAR_SCALA_VERSION=6.2.0-SNAPSHOT
5
+ cp ~ /.ivy2/local/com.github.mwz/sonar-scala_2.12/${SONAR_SCALA_VERSION} /jars/sonar-scala_2.12-assembly.jar .
6
+ docker build -t mwizner/sonarqube-scala-plugins:dev --build-arg SONAR_SCALA_VERSION=${SONAR_SCALA_VERSION} .
You can’t perform that action at this time.
0 commit comments