Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
FROM ubuntu:18.04
FROM ubuntu:24.04

COPY LICENSE README.md /

RUN apt-get update && apt-get install -y \
clang-format-8 \
git \
wget \
&& cd /usr/bin && ln -s clang-format-8 clang-format
lsb-release \
software-properties-common \
gnupg \
&& apt-get clean

# Download latest .deb packages from llvm.
# See https://apt.llvm.org/ for instructions.
RUN wget https://apt.llvm.org/llvm.sh \
&& chmod +x llvm.sh \
&& ./llvm.sh 19 \
&& apt-get install clang-format-19 \
&& apt-get clean

# The following is a workaround to allow other scripts
# that were hard-coded to use the unversioned clang-format
# binary to continue to work.
RUN cd /usr/bin && rm -rf clang-format && ln -s clang-format-19 clang-format

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
Expand Down