mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 1/5] test: Containerfile: fix build issue related to apt cleanup.
@ 2025-12-12  5:08 chalianis1
  2025-12-12  5:08 ` [PATCH v2 2/5] ci: container: update llvm to 21 and fix dependency issue chalianis1
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: chalianis1 @ 2025-12-12  5:08 UTC (permalink / raw)
  To: s.hauer; +Cc: barebox, Chali Anis

From: Chali Anis <chalianis1@gmail.com>

We cleanup the apt data after the second install group otherwise we
we have to do an apt update.

 => ERROR [ 3/10] RUN apt-get install -y --no-install-recommends lsb-release gpg  &&
wget https://apt.llvm.org/llvm.sh  && chmod +x llvm.sh && ./llvm.sh 20 -n trixie  0.3s
------
 > [ 3/10] RUN apt-get install -y --no-install-recommends lsb-release gpg &&
wget https://apt.llvm.org/llvm.sh    && chmod +x llvm.sh && ./llvm.sh 20 &&
apt-get remove -y lsb-release gnupg &&
apt-get autoremove -y --purge        && apt-get clean &&
rm -rf llvm.sh /var/lib/apt/lists/*:
0.240 Reading package lists...
0.258 Building dependency tree...
0.261 Reading state information...
0.266 E: Unable to locate package lsb-release
0.266 E: Unable to locate package gpg
------

 1 warning found (use docker --debug to expand):
 - MaintainerDeprecated: Maintainer instruction is deprecated in favor of using label (line 6)
Containerfile:67
--------------------
  66 |
  67 | >>> RUN apt-get install -y --no-install-recommends lsb-release gpg \
  68 | >>>      && wget https://apt.llvm.org/llvm.sh \
  69 | >>>      && chmod +x llvm.sh && ./llvm.sh ${LLVM_VERSION} -n trixie \
  70 | >>>      && apt-get remove -y lsb-release gnupg \
  71 | >>>      && apt-get autoremove -y --purge \
  72 | >>>      && apt-get clean \
  73 | >>>      && rm -rf llvm.sh /var/lib/apt/lists/*
  74 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get install -y --no-install-recommends
lsb-release gpg \t&& wget https://apt.llvm.org/llvm.sh \t&& chmod +x llvm.sh &&
./llvm.sh ${LLVM_VERSION} -n trixie \t&& apt-get remove -y lsb-release gnupg \t&&
apt-get autoremove -y --purge \t&& apt-get clean \t&&
rm -rf llvm.sh /var/lib/apt/lists/*" did not complete successfully: exit code: 100

Signed-off-by: Chali Anis <chalianis1@gmail.com>
---
 test/Containerfile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/test/Containerfile b/test/Containerfile
index c9e11b45985f..e322fed15727 100644
--- a/test/Containerfile
+++ b/test/Containerfile
@@ -56,9 +56,7 @@ RUN apt-get update && apt-get upgrade && apt-get install -y --no-install-recomme
 	device-tree-compiler \
 	u-boot-tools \
 	yamllint \
-	yq \
-	&& apt-get clean \
-	&& rm -rf /var/lib/apt/lists/*
+	yq
 
 ENV GCC_VERSION=15.2.0
 ENV LLVM_VERSION=20



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-12-12 14:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-12  5:08 [PATCH v2 1/5] test: Containerfile: fix build issue related to apt cleanup chalianis1
2025-12-12  5:08 ` [PATCH v2 2/5] ci: container: update llvm to 21 and fix dependency issue chalianis1
2025-12-12 14:03   ` Ahmad Fatoum
2025-12-12  5:08 ` [PATCH v2 3/5] test: container: add qemu-efi-aarch64 chalianis1
2025-12-12 14:03   ` Ahmad Fatoum
2025-12-12  5:08 ` [PATCH v2 4/5] test: arm: add efi v8 test for efi arm64 payload chalianis1
2025-12-12 14:05   ` Ahmad Fatoum
2025-12-12  5:08 ` [PATCH v2 5/5] doc: efi: add efi armv8 documentaion chalianis1
2025-12-12 14:06   ` Ahmad Fatoum
2025-12-12  9:20 ` [PATCH v2 1/5] test: Containerfile: fix build issue related to apt cleanup Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox