clang-format-checker-docker/Dockerfile

13 lines
272 B
Docker
Raw Normal View History

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