From 20ea53344b9d7ab1c246c0cf54850237a44bd80b Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Mon, 8 Jul 2024 16:56:45 -0700 Subject: [PATCH] Use clang 16 --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 76fa7320..c8ab7407 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update \ && apt-get install --no-install-recommends --no-install-suggests -y \ build-essential \ ca-certificates \ - clang \ + clang-16 \ git \ golang \ libcurl4 \ @@ -22,6 +22,9 @@ RUN apt-get update \ protobuf-compiler \ wget +RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 100 \ + && update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 100 + COPY --from=xx / / ARG TARGETPLATFORM