👷 Use of the ci-lint-audit docker image
All checks were successful
ci/woodpecker/pr/validate Pipeline was successful

This commit is contained in:
2025-05-01 22:32:17 +02:00
parent 9e7ba84576
commit 4671a5ee51
2 changed files with 36 additions and 21 deletions

View File

@@ -1,10 +1,26 @@
FROM rust:1.86
FROM rust:1.86 AS builder
RUN apt update \
&& apt install -y --no-install-recommends git libgtk-3-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev libclang-dev hunspell \
&& apt install -y --no-install-recommends libclang-dev hunspell \
&& apt clean
RUN rustup component add rustfmt clippy \
&& rustup default nightly
RUN rustup default nightly \
&& rustup component add rustfmt clippy
RUN cargo install --locked cargo-sort-derives cargo-spellcheck cargo-udeps cargo-deny
RUN cargo install cargo-binstall
RUN cargo binstall cargo-sort-derives cargo-spellcheck cargo-udeps cargo-deny
FROM debian:trixie-slim
RUN apt update \
&& apt install -y --no-install-recommends ca-certificates git rustup build-essential \
libssl-dev pkg-config libglib2.0-0 libpango-1.0-0 libatk1.0-dev libgdk-pixbuf-2.0-dev \
libcairo2-dev libgtk-3-dev libsoup-3.0-dev libwebkit2gtk-4.1-dev \
&& apt clean
COPY --from=builder /usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/ /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/
COPY --from=builder /usr/local/cargo/bin /root/.cargo/bin/
RUN rustup default nightly