From 030bda3367cc3cf49e8ce39242cbb09cdc184fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Wanzenb=C3=B6ck?= Date: Tue, 19 Mar 2024 08:54:07 +0100 Subject: [PATCH] docker: switch base to debian 12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some tools that interact with the kernel are not happy when using old tools on a new kernel. For example, turns out that resize2fs (the ext* resize tool) refuses to resize a mounted FS on a new kernel because the FS there reports some features it does not know about. To fix, we use the latest debian stable release as our base image. Tools there should be new enough for the future. Signed-off-by: Moritz Wanzenböck --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7b29cc0..37334d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ ARG TARGETARCH ARG LINSTOR_WAIT_UNTIL_VERSION=v0.2.1 RUN curl -fsSL https://github.com/LINBIT/linstor-wait-until/releases/download/$LINSTOR_WAIT_UNTIL_VERSION/linstor-wait-until-$LINSTOR_WAIT_UNTIL_VERSION-$TARGETOS-$TARGETARCH.tar.gz | tar xvzC / -FROM debian:bullseye-slim +FROM debian:bookworm-slim ARG LINSTOR_WAIT_UNTIL RUN apt-get update && apt-get install -y --no-install-recommends \