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

Commit 2c8fde9

Browse files
committed
Updated README.
1 parent e025b08 commit 2c8fde9

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README_DOCKERHUB.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Docker images with out-of-the-box [SonarQube LTS](https://www.sonarqube.org) instance with support for [Scala](http://www.scala-lang.org), [Scoverage](https://github.com/scoverage/scalac-scoverage-plugin) (code coverage metrics) and [Scalastyle](http://www.scalastyle.org) + [Scapegoat](https://github.com/sksamuel/scapegoat) (static code analysis). :sunglasses:
1+
Docker images with out-of-the-box [SonarQube LTS](https://www.sonarqube.org) instance with support for [Scala](http://www.scala-lang.org), [Scoverage](https://github.com/scoverage/scalac-scoverage-plugin) (code coverage metrics) and [Scalastyle](http://www.scalastyle.org) + [Scapegoat](https://github.com/sksamuel/scapegoat) (static code analysis).
22

33
## Available versions
44

5-
There are two types of images available: images with [sonar-scala](https://github.com/mwz/sonar-scala) and [sonar-scala-extra](https://github.com/arthepsy/sonar-scala-extra) plugins which can be mounted as a volume into a SonarQube container and images which bundle those plugins with SonarQube (suffixed with `-full`).
5+
There are two types of images available: images with [sonar-scala](https://github.com/mwz/sonar-scala) and [sonar-scala-extra](https://github.com/arthepsy/sonar-scala-extra) plugins, which can be mounted as a volume into a SonarQube container and images which bundle those plugins with SonarQube (suffixed with `-full`).
66

77
- `2.3.0`, `latest` [Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/2.3.0/Dockerfile), [(v2.3.0)](https://github.com/mwz/sonar-scala-docker/releases/tag/2.3.0)
88
- `2.3.0-full` [Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/2.3.0-full/Dockerfile), [(v2.3.0)](https://github.com/mwz/sonar-scala-docker/releases/tag/2.3.0)
@@ -38,8 +38,6 @@ services:
3838
- "80:9000"
3939
networks:
4040
- sonarnet
41-
volumes:
42-
- sonarqube_bundled-plugins:/opt/sonarqube/lib/bundled-plugins
4341
volumes_from:
4442
- plugins
4543
@@ -49,7 +47,12 @@ services:
4947
- sonarqube_plugins:/opt/sonarqube/extensions/plugins
5048
command: /bin/true
5149
52-
...
50+
networks:
51+
sonarnet:
52+
driver: bridge
53+
54+
volumes:
55+
sonarqube_plugins:
5356
```
5457

5558
You can get the full recipe from [here](https://github.com/mwz/sonar-scala-docker/blob/master/docker-compose.yml).
@@ -63,6 +66,7 @@ docker run -d --name sonarqube-scala-plugins-full \
6366
-e SONARQUBE_JDBC_URL=jdbc:postgresql://localhost/sonar \
6467
mwizner/sonarqube-scala-plugins:2.3.0-full
6568
```
69+
6670
Please note that if you don't specify the `SONARQUBE_JDBC_URL` variable, SonarQube will use an embedded H2 database, which is not recommended in production.
6771

6872
## Repository

0 commit comments

Comments
 (0)