This is a docker image for running sonarlint cli.
cd to your project and follow the instructions below.
To run this on a standalone mode, run the command below. This will perform scan based on its default configuration.
docker run --rm -ti -v $PWD:/app travissouth/sonarlint
Connected mode is usually used if you have a SonarQube server where you want to retrieve all the configurations from the server. To do this, you need to setup first your global configuration (refer to this link).
If you followed that, most likely your global config is located in ~/.sonarlint/conf/global.json.
Once done with global configuration, you can now run this using:
docker run --rm -ti -v $PWD:/app -v $HOME/.sonarlint:/root/.sonarlint travissouth/sonarlint -u
MIT
Content type
Image
Digest
Size
89.2 MB
Last updated
over 8 years ago
docker pull travissouth/sonarlint