We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clang-format-16
1 parent f010a47 commit 657e856Copy full SHA for 657e856
.gitpod.dockerfile
@@ -1,11 +1,22 @@
1
FROM gitpod/workspace-java-17:2023-08-30-14-07-38
2
3
+ENV LLVM_SCRIPT="tmp_llvm.sh"
4
+
5
+RUN test ! -f "$LLVM_SCRIPT" \
6
+ && wget https://apt.llvm.org/llvm.sh -O "$LLVM_SCRIPT" \
7
+ && chmod +x "$LLVM_SCRIPT"
8
9
USER root
10
-RUN apt-get update \
11
+RUN ./"$LLVM_SCRIPT" 16 \
12
+ && apt-get update \
13
&& apt-get install -y --no-install-recommends \
- clang-format=1:14.0-55~exp2 \
14
+ clang-format-16=1:16.0.6~++20230710042027+7cbf1a259152-1~exp1~20230710162048.105 \
15
&& apt-get clean \
16
&& rm -rf /var/lib/apt/lists/*
17
18
+RUN ln -s "$(command -v clang-format-16)" "/usr/bin/clang-format"
19
20
USER gitpod
21
22
+RUN rm "$LLVM_SCRIPT"
0 commit comments