This repository was archived by the owner on Jan 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ # SonarQube 6.7.3 LTS image with bundled Scala plugins
2
+ # sonar-scala 6.2.0 (https://github.com/mwz/sonar-scala)
3
+ # and sonar-scala-extra 1.3.0 (https://github.com/arthepsy/sonar-scala-extra).
4
+
5
+ FROM sonarqube:6.7.3-alpine
6
+
7
+ ENV SONAR_SCAPEGOAT_VERSION 1.3.0
8
+ ENV SONAR_SCALA_VERSION 6.2.0
9
+
10
+ WORKDIR /opt/sonarqube/extensions/plugins
11
+ RUN wget -O "sonar-scapegoat-plugin-${SONAR_SCAPEGOAT_VERSION}.jar" \
12
+ "https://github.com/arthepsy/sonar-scala-extra/releases/download/v${SONAR_SCAPEGOAT_VERSION}/sonar-scapegoat-plugin-${SONAR_SCAPEGOAT_VERSION}.jar"
13
+ RUN wget -O "sonar-scala-plugin-${SONAR_SCALA_VERSION}.jar" \
14
+ "https://dl.bintray.com/mwz/maven/com/github/mwz/sonar-scala_2.12/${SONAR_SCALA_VERSION}/sonar-scala_2.12-${SONAR_SCALA_VERSION}-assembly.jar"
15
+
16
+ WORKDIR $SONARQUBE_HOME
17
+ ENTRYPOINT ["./bin/run.sh" ]
Original file line number Diff line number Diff line change
1
+ # Alpine image with bundled Scala plugins
2
+ # sonar-scala 6.2.0 (https://github.com/mwz/sonar-scala)
3
+ # and sonar-scala-extra 1.3.0 (https://github.com/arthepsy/sonar-scala-extra),
4
+ # which can be mounted as a volume into a SonarQube container.
5
+
6
+ FROM alpine:3.7
7
+
8
+ ENV SONAR_SCAPEGOAT_VERSION 1.3.0
9
+ ENV SONAR_SCALA_VERSION 6.2.0
10
+
11
+ RUN apk --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/v3.7/community wget ca-certificates
12
+
13
+ WORKDIR /opt/sonarqube/extensions/plugins
14
+ RUN wget -O "sonar-scapegoat-plugin-${SONAR_SCAPEGOAT_VERSION}.jar" \
15
+ "https://github.com/arthepsy/sonar-scala-extra/releases/download/v${SONAR_SCAPEGOAT_VERSION}/sonar-scapegoat-plugin-${SONAR_SCAPEGOAT_VERSION}.jar"
16
+ RUN wget -O "sonar-scala-plugin-${SONAR_SCALA_VERSION}.jar" \
17
+ "https://dl.bintray.com/mwz/maven/com/github/mwz/sonar-scala_2.12/${SONAR_SCALA_VERSION}/sonar-scala_2.12-${SONAR_SCALA_VERSION}-assembly.jar"
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ services:
30
30
- postgresql_data:/var/lib/postgresql/data
31
31
32
32
plugins :
33
- image : mwizner/sonarqube-scala-plugins:2.2.1
33
+ image : mwizner/sonarqube-scala-plugins:2.3.0
34
34
volumes :
35
35
- sonarqube_plugins:/opt/sonarqube/extensions/plugins
36
36
command : /bin/true
You can’t perform that action at this time.
0 commit comments