Add a missing libclang dependency for alpine 3.20 upgrade.
Some checks failed
clippy Build clippy has failed
format Build format has succeeded
rust-test Build rust-test has failed

This commit is contained in:
Tom Alexander 2024-10-21 00:00:47 -04:00
parent a4c5abc57a
commit 08de0caedb
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ ARG ALPINE_VERSION="3.20"
FROM rustlang/rust:nightly-alpine$ALPINE_VERSION AS builder FROM rustlang/rust:nightly-alpine$ALPINE_VERSION AS builder
RUN apk add --no-cache musl-dev pkgconf pipewire-dev clang-dev RUN apk add --no-cache musl-dev pkgconf pipewire-dev clang-dev clang17-libclang
RUN mkdir /root/ta_waybar_pipewire RUN mkdir /root/ta_waybar_pipewire
WORKDIR /root/ta_waybar_pipewire WORKDIR /root/ta_waybar_pipewire

View File

@ -3,7 +3,7 @@ ARG ALPINE_VERSION="3.20"
FROM rustlang/rust:nightly-alpine$ALPINE_VERSION AS builder FROM rustlang/rust:nightly-alpine$ALPINE_VERSION AS builder
RUN apk add --no-cache musl-dev pkgconf pipewire-dev clang-dev RUN apk add --no-cache musl-dev pkgconf pipewire-dev clang-dev clang17-libclang
RUN --mount=type=tmpfs,target=/tmp --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked cargo install --locked --no-default-features --features ci-autoclean cargo-cache RUN --mount=type=tmpfs,target=/tmp --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked cargo install --locked --no-default-features --features ci-autoclean cargo-cache
RUN rustup component add rustfmt RUN rustup component add rustfmt
RUN rustup component add clippy RUN rustup component add clippy