Public | Automated Build

Last pushed: 3 months ago
Short Description
Lastest cppcheck
Full Description

cppcheck-docker

Introducion

Dockerfile to build lastest cppcheck.

Main aims:

  1. Ability to build the most recent version of cppcheck. With this Dockerfile you can build the lastest master branch.

  2. Make the result image as small as possible. This Dockerfile uses alpine linux and removes any unneeded file and strips the resulting cppcheck binary.

  3. 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

Cppcheck manual

Build your own image:

docker build -t cppcheck .

Docker Pull Command
Owner
neszt
Source Repository

Comments (0)