A sonarqube image with community-rust plugin.
108
Update of sonarqube:<VS> to install community-rust <VR> plugin from community-rust github releases in the sonarqube extensions volume.
Original sonarqube:<VS> entrypoint changes :
#!/bin/bash
set -e
+ if [ ! -f /opt/sonarqube/extensions/plugins/community-rust-plugin-0.2.5.jar ]; then
+ curl -o /opt/sonarqube/extensions/plugins/community-rust-plugin-0.2.5.jar -L https://github.com/C4tWithShell/community-rust/releases/download/v<VR>/community-rust-plugin-VR.jar
+ fi
+
DEFAULT_CMD=('/opt/java/openjdk/bin/java' '-jar' 'lib/sonarqube.jar' '-Dsonar.log.console=true')
# this if will check if the first argument is a flag
# but only works if all arguments require a hyphenated flag
# -v; -SL; -f arg; etc will work, but not arg1 arg2
if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then
set -- "${DEFAULT_CMD[@]}" "$@"
fi
exec "$@"
The sonarqube-rust image tags pattern : v<VS>_v<VR>
You can use that image like any sonarqube image based on the sonarqube:<VS> description and enjoy a bit of Rust support.
Content type
Image
Digest
sha256:2ad49c19a…
Size
816.6 MB
Last updated
over 1 year ago
docker pull mffrench/sonarqube-rust:v10.7.0-community_v0.2.5