mirror of
https://github.com/wiiu-env/clang-format-checker-docker.git
synced 2024-11-17 00:39:15 +01:00
18 lines
389 B
Docker
18 lines
389 B
Docker
FROM ubuntu:21.10
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
clang-format-13 python3 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ADD run-clang-format/run-clang-format.py /usr/bin
|
|
RUN ln -s /usr/bin/python3 /usr/local/bin/python
|
|
|
|
RUN mkdir /src
|
|
WORKDIR /src
|
|
|
|
RUN echo "--- Clang-format version ---"
|
|
RUN clang-format-13 --version
|
|
|
|
ENTRYPOINT ["run-clang-format.py"]
|
|
|