build(docker): upgrade to clang-16

This commit is contained in:
Paul Campbell 2024-05-19 07:05:41 +01:00
parent f302f7a5f8
commit 7b0d56746f

View file

@ -1,7 +1,7 @@
FROM docker.io/rust:latest FROM docker.io/rust:latest
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y clang-15 mold && \ apt-get install -y clang-16 mold && \
curl -L https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz -o cargo-binstall.tgz && \ curl -L https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz -o cargo-binstall.tgz && \
tar -xzf cargo-binstall.tgz && \ tar -xzf cargo-binstall.tgz && \
rm cargo-binstall.tgz && \ rm cargo-binstall.tgz && \
@ -16,7 +16,7 @@ RUN rustfmt --version
RUN cargo fmt --version RUN cargo fmt --version
RUN cargo clippy --version RUN cargo clippy --version
RUN mold --version RUN mold --version
RUN clang-15 --version RUN clang-16 --version
RUN cargo --version RUN cargo --version
RUN rustc --version RUN rustc --version
RUN rustup --version RUN rustup --version