CI: don't install recommends for smaller CI images.

This commit is contained in:
Heiko Reese
2021-09-17 02:52:13 +02:00
parent 0a5e880f32
commit ea589221b4

View File

@ -50,7 +50,7 @@ for i in "${images[@]}"; do
echo "🔨 Assembling »${IMAGENAME}«" echo "🔨 Assembling »${IMAGENAME}«"
ctr="$(buildah from "$basectr")" ctr="$(buildah from "$basectr")"
buildah run "$ctr" /bin/sh -c 'apt-get update; \ buildah run "$ctr" /bin/sh -c 'apt-get update; \
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install -y \ DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install --no-install-recommends -y \
build-essential \ build-essential \
exim4-daemon-heavy \ exim4-daemon-heavy \
exim4-dev \ exim4-dev \
@ -61,7 +61,7 @@ for i in "${images[@]}"; do
pkg-config \ pkg-config \
python3-pip \ python3-pip \
libxml2-utils; \ libxml2-utils; \
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install -y \ DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install --no-install-recommends -y \
debhelper \ debhelper \
debsigs \ debsigs \
devscripts \ devscripts \
@ -69,7 +69,7 @@ for i in "${images[@]}"; do
git-buildpackage \ git-buildpackage \
gpgv1 \ gpgv1 \
meson; \ meson; \
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install -y \ DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install --no-install-recommends -y \
vim; \ vim; \
rm -rf /var/lib/apt/lists/*;' rm -rf /var/lib/apt/lists/*;'
buildah run "$ctr" /bin/sh -c \ buildah run "$ctr" /bin/sh -c \