summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-11-29 10:39:55 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-11-29 10:39:55 +1000
commita3b032bf3358987f45bae9167ab63e9132d71f83 (patch)
tree6cbd79e11a2974468ff4e574bfc364fa4e3a58c1
parentcbc447a11cd1997852ca34fd7ea06338b06a6a0f (diff)
gitlab CI: drop linux-firmware from the Arch imagewip/smaller-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>
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
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