Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stefan-hudelmaier/cppcheck-docker

Docker image for cppcheck - a static analysis tool for C++
https://github.com/stefan-hudelmaier/cppcheck-docker

Last synced: 13 days ago
JSON representation

Docker image for cppcheck - a static analysis tool for C++

Awesome Lists containing this project

README

        

# cppcheck-docker

Docker image for cppcheck - a static analysis tool for C++

See

This docker image might be useful for continuous integration scenarios
where one does not want to install cppcheck on all slave nodes.

The docker repository can be found here:

# Available tags

* latest
* 1.71

# Usage

The directory with the source to be checked must be mounted as a volume under /src.
Parameters to cppcheck can be given after the image.

```
docker run -v $(pwd)/src:/src stefanhudelmaier/cppcheck \
--enable=all --xml --xml-version=2 2> /tmp/cppcheck.xml
```