8000 cppcheck-docker/README.md at master · giacomini/cppcheck-docker · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 557 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 557 Bytes

cppcheck-docker

Introduction

Dockerfile to build a minimal image containing cppcheck.

Ideally, by default, it builds the latest cppcheck release, currently 2.0.

Building

To build the image with the default version

docker build -t cppcheck

To build the image with a given version, e.g. 1.90

docker build --build-arg VERSION=1.90 -t cppcheck

Usage

docker run --rm -it -v $(pwd):/src cppcheck

References

Cppcheck manual

0