murer / sonar-sa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sonar-sa

Getting Started

Run this in our source code directory.

It will create a directory .scannerwork that you should .gitignore

docker run --name sonar-sa --rm -it \
    -p 9000:9000 \
    -v "$(pwd):/opt/sonar-sa/src" \
    murer/sonar-sa

Check the result on http://localhost:9000/

Build image from source

docker build -t murer/sonar-sa:dev .

Check with our sample

docker run --name sonar-sa --rm -it \
    -p 9000:9000 \
    -v "$(pwd)/sample/python:/opt/sonar-sa/src" \
    murer/sonar-sa:dev

About


Languages

Language:Dockerfile 57.3%Language:Shell 42.7%