Image with tools for compiling, testing, and linting C++ libraries
562
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.
| Item | Value |
|---|---|
| Docker Hub | pirlruc/ci-cpp |
| Architectures | linux/amd64 |
| User | non-root 1000:1000 |
| Base | Ubuntu 24.04 (digest-pinned at publish) |
| Tag | Meaning |
|---|---|
3.1.0 | Immutable Ubuntu 24.04 release |
3.0.0 | Previous immutable release |
latest | Latest 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
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
| Tool | Role |
|---|---|
| clang / clang++ / libc++ | Compile |
| cmake / ninja | Configure and build |
| clang-format / clang-tidy / cppcheck | Lint |
| gcovr / llvm-cov | Coverage |
| lizard / Metrix++ / coverxygen / Doxygen | Complexity and docs |
| valgrind | Dynamic analysis |
MIT
Content type
Image
Digest
sha256:f994cc245…
Size
342.5 MB
Last updated
9 days ago
docker pull pirlruc/ci-cpp