From ce4ae3ae9830ed24452ef03f509ccfc166eb1c2f Mon Sep 17 00:00:00 2001 From: Behunin Date: Sun, 29 Jan 2023 13:45:57 -0700 Subject: [PATCH] Move to Clang Format 15 --- linux-clang-format/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/linux-clang-format/Dockerfile b/linux-clang-format/Dockerfile index 7ef60f8..8263736 100644 --- a/linux-clang-format/Dockerfile +++ b/linux-clang-format/Dockerfile @@ -3,6 +3,9 @@ LABEL maintainer="yuzu" # Create a user account yuzu (UID 1027) that the container will run as RUN useradd -m -u 1027 -s /bin/bash yuzu && \ apt-get update && apt-get -y full-upgrade && \ - apt-get install -y git clang-format-12 && \ + apt-get install -y git gpg-agent wget && \ + wget https://apt.llvm.org/llvm-snapshot.gpg.key && apt-key add ./llvm-snapshot.gpg.key && \ + echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main" >> /etc/apt/sources.list && \ + apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y clang-format-15 && \ apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log USER 1027