* [PATCH] ci: container: upgrade after update
@ 2025-10-22 10:46 Sascha Hauer
2025-10-22 10:48 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2025-10-22 10:46 UTC (permalink / raw)
To: Barebox List
Do a apt-get upgrade after apt-get update to get a more consistent base
installation before installing additional packages.
Further apt-get update seem unnecessary though, so drop it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
test/Containerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/Containerfile b/test/Containerfile
index c6c3c57596..7c45ab426c 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 --no-install-recommends \
+RUN apt-get update && apt-get upgrade && apt-get install -y --no-install-recommends \
bison \
build-essential \
coreutils \
@@ -61,7 +61,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GCC_VERSION=15.2.0
ENV LLVM_VERSION=21
-RUN apt-get update && apt-get install -y --no-install-recommends lsb-release gnupg \
+RUN apt-get install -y --no-install-recommends lsb-release gnupg \
&& wget https://apt.llvm.org/llvm.sh \
&& chmod +x llvm.sh && ./llvm.sh ${LLVM_VERSION} \
&& apt-get remove -y lsb-release gnupg \
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ci: container: upgrade after update
2025-10-22 10:46 [PATCH] ci: container: upgrade after update Sascha Hauer
@ 2025-10-22 10:48 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-10-22 10:48 UTC (permalink / raw)
To: Barebox List, Sascha Hauer
On Wed, 22 Oct 2025 12:46:59 +0200, Sascha Hauer wrote:
> Do a apt-get upgrade after apt-get update to get a more consistent base
> installation before installing additional packages.
>
> Further apt-get update seem unnecessary though, so drop it.
>
>
Applied, thanks!
[1/1] ci: container: upgrade after update
https://git.pengutronix.de/cgit/barebox/commit/?id=f35b625ff985 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-22 10:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-22 10:46 [PATCH] ci: container: upgrade after update Sascha Hauer
2025-10-22 10:48 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox