mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 18:54:38 +00:00
gitlab-ci: Strip down docker image contents more
Making the image significantly smaller. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
committed by
Michel Dänzer
parent
23b72d8e4b
commit
37a64ede3b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user