clang-format-checker-docker/Dockerfile
Adrien Leravat fe6fdfbbb5 Remove default args for run-clang-format.py
Providing '-r .' makes it unecessarly rigid for other uses
2019-06-24 11:54:19 -07:00

13 lines
261 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"]