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:
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
|
||||
|
|
Loading…
Reference in New Issue