[PATCH 4/7] ci: container: don't install recommended packages
Ahmad Fatoum
a.fatoum at pengutronix.de
Wed Mar 26 05:36:16 PDT 2025
Either we want a package and we reference it explicitly or we don't, in
which case we don't want it taking up space in the container.
This breaks SVG to png image conversion with imagemagick, because it
calls rsvg-convert. Import librsvg2-bin to provide it.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
test/Containerfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/Containerfile b/test/Containerfile
index c4b2ba0ea583..73b0f1b70802 100644
--- a/test/Containerfile
+++ b/test/Containerfile
@@ -10,7 +10,7 @@ LABEL Description="This image is for building and testing barebox inside a conta
ENV DEBIAN_FRONTEND=noninteractive
# Update and install things from apt now
-RUN apt-get update && apt-get install -y \
+RUN apt-get update && apt-get install -y --no-install-recommends \
bison \
build-essential \
coreutils \
@@ -22,6 +22,7 @@ RUN apt-get update && apt-get install -y \
libgit2-dev \
libguestfs-tools \
liblz4-tool \
+ librsvg2-bin \
libseccomp-dev \
libssl-dev \
libtool \
--
2.39.5
More information about the barebox
mailing list