From 9e0d34a88fa4200b6a7561dbbb1a09f1ce6a8644 Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 7 Jan 2022 18:28:47 +0100 Subject: [PATCH] add iwyu (from copr) --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4fba2a7..9bad48a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ RUN printf "[main]\ngpg_check=1\ninstallonly_limit=2\nclean_requirements_on_remove=True\nfastestmirror=True\nmax_parallel_downloads=7\n" > /etc/dnf/dnf.conf; \ cat /etc/dnf/dnf.conf; \ microdnf --refresh upgrade -y -RUN microdnf install --nodocs --setopt install_weak_deps=0 -y \ +RUN microdnf install --nodocs dnf dnf-plugins-core -y && \ + dnf copr enable eddsalkield/iwyu -y && \ + microdnf install --nodocs --setopt install_weak_deps=0 -y \ git \ ninja-build \ make \ @@ -24,6 +26,7 @@ RUN microdnf install --nodocs --setopt install_weak_deps=0 -y \ libgcc \ libstdc++-{devel,static} \ glibc-devel \ + iwyu \ cryptopp-devel \ libasan-static \ liblsan-static \ @@ -52,6 +55,10 @@ RUN microdnf install --nodocs --setopt install_weak_deps=0 -y \ kernel-devel \ ncurses-{c++-libs,devel,libs,static} \ numactl-{devel,libs} \ + && dnf copr disable eddsalkield/iwyu \ + && rm -vf /etc/dnf/protected.d/dnf.conf \ + && microdnf remove dnf-plugins-core -y \ + && rpm --nodeps -e dnf \ && microdnf clean all -y # nDPI will by default (left unchanged) be installed with prefix "/usr/local".