Sign inSign up

hizlbuzz/cppcheck

By hizlbuzz

Updated almost 7 years ago

Image
0

260

hizlbuzz/cppcheck repository overview

cppcheck-docker

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

See http://cppcheck.sourceforge.net

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: https://hub.docker.com/r/stefanhudelmaier/cppcheck/

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 build -t hizlbuzz/cppcheck SRCFOLDER
docker run \
        --mount type=bind,source=$(pwd),target=/src \
        hizlbuzz/cppcheck \
        cppcheck --enable=all -I /src/Common/src/ --xml --xml-version=2 /src/SensorDeamons 2> /src/cppcheck.xml

Tag summary

Content type

Image

Digest

Size

165.3 MB

Last updated

almost 7 years ago

docker pull hizlbuzz/cppcheck