From b8302261c158050ac64f9a66340c0a3732c63dce Mon Sep 17 00:00:00 2001 From: muxator Date: Fri, 29 Sep 2023 14:03:33 +0200 Subject: [PATCH] docker: also add clang-format to the docker images --- .dockerignore | 2 ++ Dockerfile.fedora38 | 1 + Dockerfile.ubuntu22.04 | 1 + 3 files changed, 4 insertions(+) diff --git a/.dockerignore b/.dockerignore index 241dd5b..2ae211d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -22,10 +22,12 @@ # is explicitly mentioned in the Dockerfile) or will not grab it (if the # file is indirectly referenced through a wildcard). +!/.clang-format !/cmake !/CMakeLists.txt !/engine !/infra +!/Makefile !/README.md !/scripts !/specs diff --git a/Dockerfile.fedora38 b/Dockerfile.fedora38 index 3d05df1..c47c9e6 100644 --- a/Dockerfile.fedora38 +++ b/Dockerfile.fedora38 @@ -7,6 +7,7 @@ FROM fedora:38 RUN dnf install -y \ autoconf \ automake \ + clang-tools-extra \ cmake \ g++ \ gcc \ diff --git a/Dockerfile.ubuntu22.04 b/Dockerfile.ubuntu22.04 index 87de3eb..cd1911c 100644 --- a/Dockerfile.ubuntu22.04 +++ b/Dockerfile.ubuntu22.04 @@ -9,6 +9,7 @@ RUN apt update && apt install --no-install-recommends -y \ automake \ bsdextrautils \ ca-certificates \ + clang-format-15 \ cmake \ g++ \ gcc \