From a5e87a923907fcbfb943687fd7495871dc7841be Mon Sep 17 00:00:00 2001 From: Eric Zhang Date: Thu, 23 Oct 2025 23:03:12 -0700 Subject: [PATCH 1/2] pin cargo-audit install version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bb367e57..6470f34e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ ARG TARGETARCH RUN if [ $TARGETARCH = "amd64" ]; then rustup component add rustfmt && cargo fmt --check ; fi # Audit dependencies -RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit && cargo audit ; fi +RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit --lock && cargo audit ; fi # Cross-compile based on the target platform. From 0a212aff8114f600043213aa44f25bc488965157 Mon Sep 17 00:00:00 2001 From: Eric Zhang Date: Thu, 23 Oct 2025 23:17:24 -0700 Subject: [PATCH 2/2] typo --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6470f34e..95b7d020 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ ARG TARGETARCH RUN if [ $TARGETARCH = "amd64" ]; then rustup component add rustfmt && cargo fmt --check ; fi # Audit dependencies -RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit --lock && cargo audit ; fi +RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit --locked && cargo audit ; fi # Cross-compile based on the target platform.