Sign inSign up

travissouth/sonarlint

By travissouth

•Updated over 8 years ago

Sonarlint docker image.

Image
0

839

travissouth/sonarlint repository overview

⁠Sonarlint docker image

This is a docker image for running sonarlint cli.

⁠Usage

cd to your project and follow the instructions below.

⁠Running on standalone mode

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
⁠Running on connected mode

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

⁠License

MIT

Tag summary

Content type

Image

Digest

Size

89.2 MB

Last updated

over 8 years ago

docker pull travissouth/sonarlint