From 165b94c3faf6e368880d987d7098fe9cf9f108c3 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Tue, 10 Feb 2026 23:37:43 -0500 Subject: [PATCH] chore(docker): pass RUSTC_WRAPPER to cargo build in Dockerfile.depot (#22048) Co-authored-by: Amp --- Dockerfile.depot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.depot b/Dockerfile.depot index 26c16ac356..8ed821773c 100644 --- a/Dockerfile.depot +++ b/Dockerfile.depot @@ -51,7 +51,8 @@ RUN --mount=type=secret,id=DEPOT_TOKEN,env=SCCACHE_WEBDAV_TOKEN \ --mount=type=cache,target=/usr/local/cargo/registry,sharing=shared \ --mount=type=cache,target=/usr/local/cargo/git,sharing=shared \ --mount=type=cache,target=$SCCACHE_DIR,sharing=shared \ - SCCACHE_WEBDAV_ENDPOINT=https://cache.depot.dev SCCACHE_DIR=/sccache sccache --start-server && \ + export RUSTC_WRAPPER=sccache SCCACHE_WEBDAV_ENDPOINT=https://cache.depot.dev SCCACHE_DIR=/sccache && \ + sccache --start-server && \ if [ -n "$RUSTFLAGS" ]; then \ export RUSTFLAGS="$RUSTFLAGS"; \ elif [ "$TARGETPLATFORM" = "linux/amd64" ]; then \