|
This can be simply used that way:
docker run -p 8182:8181 grpc/scan-build
This will grab grpc's latest github code, compile it through clang's scan-build tool (http://clang-analyzer.llvm.org/scan-build.html) and output the result on stdout. This will also start an HTTP server on port 8182 on your machine, displaying the report nicely.
As a nice side-effect, this will also produce scan reports for openssl and protobuf.
The server can be then stopped this way:
docker ps -l # figure out the container-id
docker kill container-id
|