mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
docker/fedora: run git gc after cloning the subprojects
Most of the subprojects specify depth=1 in the wrap file, so this doesn't have a big effect atm. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/375>
This commit is contained in:
parent
dbf14146b9
commit
d5136450c2
1 changed files with 6 additions and 0 deletions
|
@ -238,3 +238,9 @@ rustc --version
|
|||
git clone -b ${DEFAULT_BRANCH} https://gitlab.freedesktop.org/gstreamer/gst-build.git /gst-build/
|
||||
cd /gst-build
|
||||
meson subprojects download
|
||||
|
||||
# Run git gc to prune unwanted refs and reduce the size of the image
|
||||
for i in $(find subprojects/ -mindepth 1- maxdepth 1 -type d);
|
||||
do
|
||||
git -C $i gc --aggressive || true;
|
||||
done
|
Loading…
Reference in a new issue