Add SubDirs and Add updated Linux Image based of Original, Add Minimal Clang Image

This commit is contained in:
ddutchie 2024-03-14 13:59:35 +00:00
parent 9b82f10a18
commit 0b289f755b
11 changed files with 205 additions and 8 deletions

9
linux-clang-format/Dockerfile Executable file
View file

@ -0,0 +1,9 @@
FROM ubuntu:20.04
LABEL maintainer="suyu"
RUN apt-get update && apt-get -y full-upgrade && \
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