Verified Commit 1adb19cf authored by Marc Vef's avatar Marc Vef
Browse files

Update linter Docker file for clang-15

parent 9d411e8e
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -4,15 +4,15 @@ LABEL Description="Debian-based environment to check the formatting of GekkoFS c


RUN apt-get update && \
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
    apt-get install -y --no-install-recommends \
		# clang 10 deps for clang-format
		# clang 15 deps for clang-format
		lsb-release \
		lsb-release \
		wget \
		wget \
		software-properties-common \
		software-properties-common \
		gnupg2 && \
		gnupg2 && \
    # add clang-10 repos
    # add clang-15 repos
    wget https://apt.llvm.org/llvm.sh -P /tmp && chmod +x /tmp/llvm.sh && /tmp/llvm.sh 11 && \
    wget https://apt.llvm.org/llvm.sh -P /tmp && chmod +x /tmp/llvm.sh && /tmp/llvm.sh 15 && \
    # install clang-format
    # install clang-format
    apt-get update && apt-get install -y --no-install-recommends clang-format-11 && \
    apt-get update && apt-get install -y --no-install-recommends clang-format-15 && \
    # Clean apt cache to reduce image layer size
    # Clean apt cache to reduce image layer size
    rm -rf /var/lib/apt/lists/* && rm /tmp/llvm.sh && \
    rm -rf /var/lib/apt/lists/* && rm /tmp/llvm.sh && \
    # Clean apt caches of packages
    # Clean apt caches of packages