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 <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-11-29 10:39:55 +10:00
parent cbc447a11c
commit a3b032bf33

View file

@ -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