fix: add SANDBOX_AGENT_SKIP_INSPECTOR=1 to Dockerfiles

This commit is contained in:
Nathan Flurry 2026-01-27 18:10:36 -08:00
parent 41813f6572
commit 231660344c
4 changed files with 8 additions and 4 deletions

View file

@ -60,10 +60,11 @@ ar = "x86_64-apple-darwin20.4-ar"\n\
COPY . .
# Build for x86_64 macOS
# SANDBOX_AGENT_SKIP_INSPECTOR=1 skips embedding the inspector frontend
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/usr/local/cargo/git \
--mount=type=cache,target=/build/target \
cargo build -p sandbox-agent --release --target x86_64-apple-darwin && \
SANDBOX_AGENT_SKIP_INSPECTOR=1 cargo build -p sandbox-agent --release --target x86_64-apple-darwin && \
mkdir -p /artifacts && \
cp target/x86_64-apple-darwin/release/sandbox-agent /artifacts/sandbox-agent-x86_64-apple-darwin