Skip to content

Commit

Permalink
fix clang-format installation (#129)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
brettmc authored Jan 29, 2024
1 parent dec47b1 commit a1992be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile.debian
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bullseye-slim
FROM debian:bookworm-slim
WORKDIR /usr/src

#clang-format, gdb, valgrind
Expand All @@ -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 \
Expand Down

0 comments on commit a1992be

Please sign in to comment.