summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/docker/fedora36/Dockerfile
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-10-04 15:17:36 (GMT)
committerBrad King <brad.king@kitware.com>2022-10-04 17:30:52 (GMT)
commitc239e7c259a2af4987a4f754cee228f1f4bdcc97 (patch)
tree62f13b93f8c75c836995c784b75cc3809fb4253b /.gitlab/ci/docker/fedora36/Dockerfile
parent5fec2ea0784cb299f2001af3d6cfce6c7dcce836 (diff)
downloadCMake-c239e7c259a2af4987a4f754cee228f1f4bdcc97.zip
CMake-c239e7c259a2af4987a4f754cee228f1f4bdcc97.tar.gz
CMake-c239e7c259a2af4987a4f754cee228f1f4bdcc97.tar.bz2
ci: add include-what-you-use to Fedora base image
Diffstat (limited to '.gitlab/ci/docker/fedora36/Dockerfile')
-rw-r--r--.gitlab/ci/docker/fedora36/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab/ci/docker/fedora36/Dockerfile b/.gitlab/ci/docker/fedora36/Dockerfile
index 299d48a..ea42561 100644
--- a/.gitlab/ci/docker/fedora36/Dockerfile
+++ b/.gitlab/ci/docker/fedora36/Dockerfile
@@ -10,6 +10,12 @@ MAINTAINER Kyle Edwards <kyle.edwards@kitware.com>
COPY install_clang_tidy_headers.sh /root/install_clang_tidy_headers.sh
RUN sh /root/install_clang_tidy_headers.sh
+FROM fedora:36 AS iwyu
+MAINTAINER Kyle Edwards <kyle.edwards@kitware.com>
+
+COPY install_iwyu.sh /root/install_iwyu.sh
+RUN sh /root/install_iwyu.sh
+
FROM fedora:36
MAINTAINER Ben Boeckel <ben.boeckel@kitware.com>
@@ -22,3 +28,6 @@ RUN tar -C /usr/local -xf /root/rvm.tar \
COPY --from=clang-tidy-headers /root/clang-tidy-headers.tar /root/clang-tidy-headers.tar
RUN tar -C /usr/include -xf /root/clang-tidy-headers.tar \
&& rm /root/clang-tidy-headers.tar
+COPY --from=iwyu /root/iwyu.tar /root/iwyu.tar
+RUN tar -C / -xf /root/iwyu.tar \
+ && rm /root/iwyu.tar