From a1992be8dd941e925bd206b18d30c4ebd2ee557d Mon Sep 17 00:00:00 2001 From: Brett McBride Date: Tue, 30 Jan 2024 09:29:08 +1100 Subject: [PATCH] fix clang-format installation (#129) the dev image had broken because clang-format-18 was no longer available. switching to bookworm and a different dist to remain with stable v18 --- docker/Dockerfile.debian | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile.debian b/docker/Dockerfile.debian index ac5e0fb..0ad6d4a 100644 --- a/docker/Dockerfile.debian +++ b/docker/Dockerfile.debian @@ -1,4 +1,4 @@ -FROM debian:bullseye-slim +FROM debian:bookworm-slim WORKDIR /usr/src #clang-format, gdb, valgrind @@ -7,8 +7,8 @@ RUN apt-get update \ curl \ gnupg2 \ && curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc \ - && echo "deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye main" >> /etc/apt/sources.list \ - && echo "deb-src http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye main" >> /etc/apt/sources.list \ + && echo "deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-18 main" >> /etc/apt/sources.list \ + && echo "deb-src http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-18 main" >> /etc/apt/sources.list \ && apt-get update \ && apt-get install -y \ clang-format-18 \