From 37a64ede3b545cda9edde65c65c02054d2da43cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 23 Dec 2019 09:51:43 +0100 Subject: [PATCH] gitlab-ci: Strip down docker image contents more Making the image significantly smaller. Reviewed-by: Peter Hutterer Reviewed-by: Olivier Fourdan --- .gitlab-ci/debian-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh index 176396316..8542a62af 100644 --- a/.gitlab-ci/debian-install.sh +++ b/.gitlab-ci/debian-install.sh @@ -29,12 +29,13 @@ meson build ninja -j4 -C build install cd .. -rm -rf piglit/.git xts/.git +rm -rf piglit/.git xts/.git piglit/tests/spec/ echo '[xts]' > piglit/piglit.conf echo 'path=/root/xts' >> piglit/piglit.conf -find -name \*.a -o -name \*.o | xargs rm +find -name \*.a -o -name \*.o -o -name \*.c -o -name \*.h -o -name \*.la\* | xargs rm +strip xts/xts5/*/.libs/* apt-get purge -y git libxkbcommon-dev \ x11-utils x11-xserver-utils xauth xvfb