I am building a SonarQube docker image based on SonarQube version 7.1. I want to bake as much as possible into the image. Presently what I want to bake into the image is:
- AD connection over LDAP to retrieve groups and users.
- Quality Profiles
- Quality Gates
So far I have been able to:
- Bootstrap the plugins by creating my own docker file based on sonarqube:7.1 and downloading the plugins to /opt/sonarqube/extensions/plugins on docker build.
- Setup AD connection by modifying the sonar.properties file and copying it into /opt/sonarqube/conf on docker build.
But I don’t know where to start with quality profiles and gates. Is it even possible?