Short Description
Lastest cppcheck
Full Description
cppcheck-docker
Introducion
Dockerfile to build lastest cppcheck.
Main aims:
Ability to build the most recent version of cppcheck. With this Dockerfile you can build the lastest master branch.
Make the result image as small as possible. This Dockerfile uses alpine linux and removes any unneeded file and strips the resulting cppcheck binary.
Easy to use. Only need to mount a directory to /src to start check.
Usage
docker run -v $(pwd):/src cppcheck
To allow CTRL+c during cppcheck run use -t docker argument:
docker run -t -v $(pwd):/src cppcheck
Build your own image:
docker build -t cppcheck .