This repository is deprecated and will no longer be updated or maintined. Please consider using one of these alternatives instead of this repository and the associated docker image
Docker container containing all needed tools to run Clang Format. Each container will contain only one version of the Clang Format but will contain all additional libraries needed.
There are 2 ways to use this container Interactive and Command mode.
This will drop you into an interactive bash
session.
docker run -it -v /src:/src clang-format
This will run the supplied command directly.
docker run -v /src:/src clang-format [command]
docker build -t clang-format --build-arg CLANG_FORMAT_VERSION=12 .
Note that CLANG_FORMAT_VERSION
defaults to 12
if not supplied.