clang-format-checker-docker/Dockerfile
2019-06-14 13:25:05 -07:00

13 lines
272 B
Docker

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", "."]