crashappsec / docker-clang-tools

Docker image which ships with clang-tidy via preinstalled python clang-tidy wheel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clang-tools (tidy+format)

This is a docker image with static builds of

The packages are installed via apt and are make static via staticx. Docker image is published for both:

  • linux/amd64
  • linux/arm64

As everything is installed via apt, its easy to match the clang-* versions to actual clang compiler.

Alternatively these tools can be installed via Python wheels from PyPI:

The reason this approach is not used here is because wheels are not available for all versions for all architectures.

As clang-format wheel >=16 supports ARM wheels, once ssciwr/clang-tidy-wheel#2 is resolved, the approach can be reconsidered.

About

Docker image which ships with clang-tidy via preinstalled python clang-tidy wheel


Languages

Language:Dockerfile 100.0%