Skip to content

Commit

Permalink
[#3] Update clang toolchain in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Dec 20, 2024
1 parent eebfa4c commit 5e6d9fc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions internal/docker/ubuntu-22.04
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ RUN echo "#### Installing dependencies" \
wget \
&& wget -P /tmp https://apt.llvm.org/llvm-snapshot.gpg.key \
&& apt-key add /tmp/llvm-snapshot.gpg.key \
&& add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main" \
&& add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-19 main" \
&& apt install -y \
clang-18 \
clang-format-18 \
clang-tidy-18 \
clang-19 \
clang-format-19 \
clang-tidy-19 \
cmake \
curl \
gcc \
git \
libacl1-dev \
&& rm -rf /var/lib/apt/lists/* \
&& apt clean \
&& ln -s /usr/bin/clang-18 /usr/bin/clang \
&& ln -s /usr/bin/clang++-18 /usr/bin/clang++ \
&& ln -s /usr/bin/clang-tidy-18 /usr/bin/clang-tidy \
&& ln -s /usr/bin/clang-format-18 /usr/bin/clang-format \
&& ln -s /usr/bin/clang-19 /usr/bin/clang \
&& ln -s /usr/bin/clang++-19 /usr/bin/clang++ \
&& ln -s /usr/bin/clang-tidy-19 /usr/bin/clang-tidy \
&& ln -s /usr/bin/clang-format-19 /usr/bin/clang-format \
&& echo "#### Install minimal Rust toolchain" \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --no-modify-path \
&& echo "#### Adding beta and nightly toolchain" \
Expand Down

0 comments on commit 5e6d9fc

Please sign in to comment.