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 <[email protected]> --- 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
