Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit e940962

Browse files
committed
Upgrade sonar-scala to 6.2.0.
1 parent c2c7e56 commit e940962

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

2.3.0-full/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]

2.3.0/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ services:
3030
- postgresql_data:/var/lib/postgresql/data
3131

3232
plugins:
33-
image: mwizner/sonarqube-scala-plugins:2.2.1
33+
image: mwizner/sonarqube-scala-plugins:2.3.0
3434
volumes:
3535
- sonarqube_plugins:/opt/sonarqube/extensions/plugins
3636
command: /bin/true

0 commit comments

Comments
 (0)