From 4448165ccf62758d219374ed5544fbb591798777 Mon Sep 17 00:00:00 2001 From: shashial <10578726+shashial@users.noreply.github.com> Date: Thu, 20 Aug 2026 19:13:48 +0100 Subject: [PATCH 1/2] Make builds include a dependency list using cargo-auditable. --- .github/workflows/rproxy_release.yaml | 2 ++ Dockerfile | 2 ++ build.sh | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rproxy_release.yaml b/.github/workflows/rproxy_release.yaml index 9b5bed3..ab10a67 100644 --- a/.github/workflows/rproxy_release.yaml +++ b/.github/workflows/rproxy_release.yaml @@ -90,6 +90,8 @@ jobs: libssl-dev \ pkg-config curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + . $HOME/.cargo/env + cargo install cargo-auditable --version 0.7.5 --locked - name: checkout the repository uses: actions/checkout@v4 diff --git a/Dockerfile b/Dockerfile index 2fcfae9..8a6cb3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,8 @@ RUN rustup component add \ clippy \ rustfmt +RUN cargo install cargo-auditable --version 0.7.5 --locked + ENV CARGO_HOME=/usr/local/cargo FROM base AS builder diff --git a/build.sh b/build.sh index 6c3b950..e978bee 100755 --- a/build.sh +++ b/build.sh @@ -26,7 +26,7 @@ export CARGO_TARGET_$( echo "${TARGET}" | tr '[:lower:]' '[:upper:]' | tr '-' '_ -C target-feature=+crt-static \ " -cargo build --package rproxy \ +cargo auditable build --package rproxy \ --features ${FEATURES} \ --locked \ --release \ From c20aae506157f4f924fcbc4c1e43edc0233a6e64 Mon Sep 17 00:00:00 2001 From: shashial <10578726+shashial@users.noreply.github.com> Date: Thu, 20 Aug 2026 19:56:10 +0100 Subject: [PATCH 2/2] fix: move RUN after ENV command Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a6cb3f..7d19179 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,10 @@ RUN rustup component add \ clippy \ rustfmt -RUN cargo install cargo-auditable --version 0.7.5 --locked - ENV CARGO_HOME=/usr/local/cargo +RUN cargo install cargo-auditable --version 0.7.5 --locked + FROM base AS builder WORKDIR /app