diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97ef0f1612270c656569644e65daf3e67e9e70e5..4f461643dfffd96d8d890a6edbac9cedcef3ed8c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -83,6 +83,8 @@ build-zynthbox-image-armhf: - sudo mount --bind /proc $mountdir/proc - sudo mount --bind /sys $mountdir/sys - sudo chroot $mountdir apt install zynthbox-z2-setup + - sudo chroot $mountdir apt -y clean + - sudo chroot $mountdir rm -rf /var/lib/apt/lists/* - sudo umount $mountdir/boot/ $mountdir/dev/pts $mountdir/dev/ $mountdir/proc/ $mountdir/sys/ - sudo umount $mountdir # Compress miko image