sonar - A docker image containing version 6.3.1 based on alpine linux, with postgres and Java, web and git plugins installed.
A Docker container for Sonar, running apline but working for CentOS7 (also allows for restarting) This fixes the inability to restart the sonar image but also sorts the permissions out (generally for CentOS, untested on other distros and may still work). The intent is to use this image as a restartable service and run your sonar server.
Any feedback let me know - its all welcome!
This is based heavily from this git hub repo, however with some good additions.
Before running this docker image, please [clone / download the repo](https://github.com/blofse/sonar, including the script files.
Run the following command, replacing *** with your desired db password:
./initial_start '***'
This will setup two containers:
- sonar-postgres - a container to store your sonar db data
- sonar - the container containing the sonar server
Once initialised and perhaps migrated, the docker container can then be run as a service. Included in the repo is the service for centos 7 based os's and to install run:
./copy_install_and_start_as_service.sh