Skip to content

Commit c7d75f2

Browse files
authored
Fix llvm setup
1 parent 94ce07e commit c7d75f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ RUN apt-get update
33
RUN apt-get -y install wget build-essential cmake git
44

55
FROM base AS clang_setup
6-
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
6+
RUN wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
7+
RUN deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main
8+
RUN deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy main
79
RUN apt-get -y update
810
RUN apt-get -y install libllvm-17-ocaml-dev libllvm17 llvm-17 llvm-17-dev llvm-17-doc llvm-17-examples llvm-17-runtime
911
RUN apt-get -y install clang-17 clang-tools-17 clang-17-doc libclang-common-17-dev libclang-17-dev libclang1-17 clang-format-17 python3-clang-17 clangd-17 clang-tidy-17

0 commit comments

Comments
 (0)