From 9e7ba845760816f3670170783a9b5f1eaa2fa372 Mon Sep 17 00:00:00 2001 From: Adrien Date: Mon, 28 Apr 2025 07:25:17 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20Dockerfile=20for=20the=20c?= =?UTF-8?q?i-lint-audit=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker/.lint-audit-image.yaml | 16 ++++++++++++++++ docker/Dockerfile.ci-lint-audit | 10 ++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .woodpecker/.lint-audit-image.yaml create mode 100644 docker/Dockerfile.ci-lint-audit diff --git a/.woodpecker/.lint-audit-image.yaml b/.woodpecker/.lint-audit-image.yaml new file mode 100644 index 0000000..4bcc832 --- /dev/null +++ b/.woodpecker/.lint-audit-image.yaml @@ -0,0 +1,16 @@ +steps: + dockerize: + image: woodpeckerci/plugin-kaniko + settings: + registry: rg.fr-par.scw.cloud + repo: asr-projects/beau-gosse-du-92/ci-lint-audit + dockerfile: ./docker/Dockerfile.ci-lint-audit + tags: latest + auto_tag: false + cache: false + username: nologin + password: + from_secret: registry-password + +when: + - path: ./docker/Dockerfile.ci-lint-audit diff --git a/docker/Dockerfile.ci-lint-audit b/docker/Dockerfile.ci-lint-audit new file mode 100644 index 0000000..e1cbc69 --- /dev/null +++ b/docker/Dockerfile.ci-lint-audit @@ -0,0 +1,10 @@ +FROM rust:1.86 + +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 clean + +RUN rustup component add rustfmt clippy \ + && rustup default nightly + +RUN cargo install --locked cargo-sort-derives cargo-spellcheck cargo-udeps cargo-deny