Skip to content

Commit

Permalink
Merge pull request #2 from adrianmusante/10.3.0
Browse files Browse the repository at this point in the history
SonarQube v10.3.0
  • Loading branch information
adrianmusante authored Jan 14, 2024
2 parents 67371c2 + 6259ac4 commit a36d066
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: sonarqube
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ A distribution of Sonarqube Community Edition packaged by Bitnami with addons.

### Pre-installed plugins:

- [sonar-clover](https://github.com/adrianmusante/sonar-clover/tree/hotfix/sonarqube-9): Enables OpenClover report support for project coverage.
- [sonarqube-community-branch-plugin](https://github.com/mc1arke/sonarqube-community-branch-plugin): Allows branch and Pull Request analysis for GitHub, GitLab or some else.

### Additional features:
Expand All @@ -25,7 +24,7 @@ The recommended way to get the SonarQube Docker Image is to pull the prebuilt im

To use a specific version, you can pull a versioned tag. You can view the [list of available versions](https://hub.docker.com/r/adrianmusante/sonarqube/tags/) in the Docker Hub Registry.

- [`9`, `9.9`, `latest` (sonarqube/Dockerfile)](https://github.com/adrianmusante/docker-sonarqube/blob/main/sonarqube/Dockerfile)
- [`10`, `10.3`, `latest` (sonarqube/Dockerfile)](https://github.com/adrianmusante/docker-sonarqube/blob/main/sonarqube/Dockerfile)


## Configuration
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ services:
context: sonarqube
depends_on:
- sonarqube_db
env_file:
- .env
environment:
- BITNAMI_DEBUG=${BITNAMI_DEBUG:-true}
- SONARQUBE_DATABASE_HOST=sonarqube_db
Expand Down
4 changes: 2 additions & 2 deletions sonarqube/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ARG SONARQUBE_VERSION=9.9.3
ARG SONARQUBE_VERSION=10.3.0
FROM bitnami/sonarqube:$SONARQUBE_VERSION

USER root

ARG ADDONS_HOME=/opt/addons
ENV ADDONS_HOME $ADDONS_HOME

ARG SONARQUBE_PR_PLUGIN_VERSION=1.14.0
ARG SONARQUBE_PR_PLUGIN_VERSION=1.18.0
RUN mkdir -p $ADDONS_HOME/plugins \
&& cd $ADDONS_HOME \
&& curl -fsSL -o plugins/sonarqube-community-branch-plugin.jar "https://github.com/mc1arke/sonarqube-community-branch-plugin/releases/download/${SONARQUBE_PR_PLUGIN_VERSION}/sonarqube-community-branch-plugin-${SONARQUBE_PR_PLUGIN_VERSION}.jar"
Expand Down
Binary file removed sonarqube/addons/plugins/sonar-clover-plugin.jar
Binary file not shown.

0 comments on commit a36d066

Please sign in to comment.