devpow112 / docker-clang-format

:warning: Docker container containing all needed tools to run Clang Format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 Clang Format (🚨 Unmaintained 🚨)

License Release

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.

Usage

There are 2 ways to use this container Interactive and Command mode.

Interactive

This will drop you into an interactive bash session.

docker run -it -v /src:/src clang-format

Command

This will run the supplied command directly.

docker run -v /src:/src clang-format [command]

Building

docker build -t clang-format --build-arg CLANG_FORMAT_VERSION=12 .

Note that CLANG_FORMAT_VERSION defaults to 12 if not supplied.

About

:warning: Docker container containing all needed tools to run Clang Format

License:MIT License


Languages

Language:Dockerfile 100.0%