green-code-initiative / ecoCode-android

Reduce the environmental footprint of your Java-based Android apps with SonarQube
https://ecocode.io
GNU General Public License v3.0
57 stars 17 forks source link

SonarQube ecoCode-mobile container image #34

Closed obeone closed 1 year ago

obeone commented 1 year ago

Like #72 on ecoCode, this PR update the Dockerfile to build the plugins, and build a sonarqube container with plugins embedded.

A Github workflow is added too, in order to build new image on push and tag on main

To test it, you can use package built on my repo (I don’t have write access to green-code-initiative)

docker run -ti --rm \
       -v sq_ecocode_mobile_logs:/opt/sonarqube/logs \
       -v sq_ecocode_mobile_data:/opt/sonarqube/data \
       -p 9000:9000 \
       --name sonarqube-ecocode-mobile  \
       ghcr.io/obeone/sonarqube-ecocode-mobile:latest
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information