From a3b032bf3358987f45bae9167ab63e9132d71f83 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 29 Nov 2018 10:39:55 +1000 Subject: [PATCH] gitlab CI: drop linux-firmware from the Arch image Reduces the size of the container by a few hundred MB Fixes #188 Signed-off-by: Peter Hutterer --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0dc616f0..40635316 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -296,6 +296,8 @@ ubuntu:18.04@container-prep: - buildcntr=$(buildah from --quiet base/archlinux) - buildah run $buildcntr pacman -S --refresh - buildah run $buildcntr pacman -S --sysupgrade --noconfirm + # linux-firmware uses 460M for something we don't need.. + - buildah run $buildcntr pacman -R --noconfirm linux-firmware - buildah run $buildcntr pacman -S --noconfirm $ARCH_PKGS - buildah run $buildcntr pacman -S --clean --noconfirm - buildah config --workingdir /app $buildcntr