Skip to content

Instantly share code, notes, and snippets.

@sbe-arg
sbe-arg / docker-sonarqube.sh
Last active May 3, 2022 10:17
Docker SonarQube community scanner for local repositories.
#!/bin/bash
# to change password probably advised to nuke container and start fresh?
# the password must be basic as who cares?
SONAR_PASS="newAdminPassword"
SONAR_VERSION="9.3.0"
SONAR_VERSION_TYPE="community"
# fyi sonar community does not support swift so you should use mobsf
# sudo docker run --detach --restart no --name mobsf -p 7000:8000 --add-host host.docker.internal:127.0.0.1 opensecurity/mobile-security-framework-mobsf:latest \ # no auth