mirror of
https://github.com/wiiu-env/clang-format-checker-docker.git
synced 2024-11-16 16:29:15 +01:00
fe6fdfbbb5
Providing '-r .' makes it unecessarly rigid for other uses
13 lines
261 B
Docker
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"]
|
|
|