From d325355f9e0879659834b2734b3df9f85df20f34 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 22 Dec 2022 15:27:00 +0100 Subject: [PATCH] strip -g /usr/lib/*/icinga2/sbin/icinga2 to reduce image size 937MB -> 709MB. --- compile.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/compile.bash b/compile.bash index 95e9329..c3aaa80 100755 --- a/compile.bash +++ b/compile.bash @@ -17,6 +17,7 @@ make make test make install "DESTDIR=$(pwd)/../icinga2-bin" +strip -g ../icinga2-bin/usr/lib/*/icinga2/sbin/icinga2 cd ..