Add original Docker image, using run-clang-format.py

This commit is contained in:
Adrien Leravat 2019-06-14 13:25:05 -07:00
parent 092ee74a59
commit afe1fe8268
3 changed files with 16 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "run-clang-format"]
path = run-clang-format
url = https://github.com/Sarcasm/run-clang-format

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM ubuntu:19.04
RUN apt update && apt-get install -y --no-install-recommends \
clang-format python3 \
&& rm -rf /var/lib/apt/lists/*
ADD run-clang-format/run-clang-format.py /usr/bin
RUN mkdir /src
WORKDIR /src
ENTRYPOINT ["run-clang-format.py", "-r", "."]

1
run-clang-format Submodule

@ -0,0 +1 @@
Subproject commit 50fc7ad73e596225955fe90226ee7870b28febf2