mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 4/7] ci: container: don't install recommended packages
Date: Wed, 26 Mar 2025 13:36:16 +0100	[thread overview]
Message-ID: <20250326123619.282897-5-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20250326123619.282897-1-a.fatoum@pengutronix.de>

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




  parent reply	other threads:[~2025-03-26 12:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-26 12:36 [PATCH 0/7] ci: container: include musl and LLVM Ahmad Fatoum
2025-03-26 12:36 ` [PATCH 1/7] Revert "ci: container: downgrade OpenRISC toolchain from 14.2.0 to 13.1.0" Ahmad Fatoum
2025-03-26 12:36 ` [PATCH 2/7] ci: container: download and delete kvx.tgz in the same layer Ahmad Fatoum
2025-03-26 12:36 ` [PATCH 3/7] ci: container: don't leave labgrid checkout in /tmp Ahmad Fatoum
2025-03-26 12:36 ` Ahmad Fatoum [this message]
2025-03-26 12:36 ` [PATCH 5/7] ci: container: run apt-get clean after installation Ahmad Fatoum
2025-03-26 12:36 ` [PATCH 6/7] ci: container: add musl-tools Ahmad Fatoum
2025-03-26 12:36 ` [PATCH 7/7] ci: container: install LLVM/clang Ahmad Fatoum
2025-03-27  9:21 ` [PATCH 0/7] ci: container: include musl and LLVM Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250326123619.282897-5-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox