This is a SonarScannerCli project launched with Docker and the Docker SDK for Python.
- Docker
- Python 3 with PiP
- Recommended: venv or Conda
1.- First, create a .env file from the template.
2.- Next, using the settings of your SonnarQube Project create a <project-name>.json settings file from the templates in the ./projects folder.
3.- [Optional but highly recommended]: Create a virtual environment with venv or Conda.
4.- Install the dependencies:
python3 -m pip install -r requirements.txt1.- Launch the script with the <project-name> as argument:
python3 app.py <project-name>