Sign inSign up

pirlruc/ci-cpp

By pirlruc

•Updated 9 days ago

Image with tools for compiling, testing, and linting C++ libraries

Image
Security
Languages & frameworks
Developer tools
0

562

pirlruc/ci-cpp repository overview

⁠ci-cpp

Short-lived C++ CI toolchain image that compile, test, and lint C++ libraries: Clang/libc++, CMake, Ninja, cppcheck, clang-tidy/format, Doxygen, gcovr, lizard, Metrix++, coverxygen, valgrind.

⁠Image

ItemValue
Docker Hubpirlruc/ci-cpp
Architectureslinux/amd64
Usernon-root 1000:1000
BaseUbuntu 24.04 (digest-pinned at publish)
⁠Tags
TagMeaning
3.1.0Immutable Ubuntu 24.04 release
3.0.0Previous immutable release
latestLatest non-prerelease publish
sha-<git>Exact git SHA of the published commit

Prefer a digest (or a version tag) in production. latest is never the only tag.

docker pull pirlruc/ci-cpp:3.1.0
# or
docker pull pirlruc/ci-cpp@sha256:f42b11bc342c0dd6faef6454f4a37cf4230b9c2c87357623cad5ed0102608656

⁠Quick start

docker run --rm -v "$PWD:/workspace:ro" -w /workspace \
  pirlruc/ci-cpp:3.1.0 \
  clang++ --version

Hardened local run (read-only workspace mount):

docker run --rm \
  --read-only \
  --cap-drop ALL \
  --security-opt no-new-privileges \
  --tmpfs /tmp:rw,noexec,nosuid,size=256m \
  -v "$PWD:/workspace:ro" -w /workspace \
  pirlruc/ci-cpp:3.1.0 \
  clang++ --version

⁠What is inside

ToolRole
clang / clang++ / libc++Compile
cmake / ninjaConfigure and build
clang-format / clang-tidy / cppcheckLint
gcovr / llvm-covCoverage
lizard / Metrix++ / coverxygen / DoxygenComplexity and docs
valgrindDynamic analysis

⁠License

MIT

Tag summary

Content type

Image

Digest

sha256:f994cc245…

Size

342.5 MB

Last updated

9 days ago

docker pull pirlruc/ci-cpp