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
12 changes: 11 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@ FROM ubuntu:VERSION
# Install packages
RUN /bin/sh -c 'export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y bzip2 ca-certificates clang cmake curl earlyoom file g++ gcc git gnupg gzip jq lld make python3 python3-numpy tar xz-utils zip zstd xxd \
&& apt-get install -y lsb-release software-properties-common bzip2 ca-certificates cmake curl earlyoom file g++ gcc git gnupg gzip jq make python3 python3-numpy tar xz-utils zip zstd xxd wget \
&& wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
&& apt-add-repository "deb http://apt.llvm.org/`lsb_release -c | cut -f2`/ llvm-toolchain-`lsb_release -c | cut -f2`-18 main" \
&& apt-get update \
&& apt-get install -y clang-18 lld-18 \
&& apt-get --purge autoremove -y \
&& apt-get autoclean \
&& rm -rf /var/lib/apt/lists/*'

RUN /bin/sh -c 'update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 100 \
&& update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 100 \
&& update-alternatives --install /usr/bin/lld lld /usr/bin/lld-18 100'

RUN which clang