mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-20 14:05:11 +00:00
fix: add SANDBOX_AGENT_SKIP_INSPECTOR=1 to Dockerfiles
This commit is contained in:
parent
41813f6572
commit
231660344c
4 changed files with 8 additions and 4 deletions
|
|
@ -60,10 +60,11 @@ ar = "aarch64-apple-darwin20.4-ar"\n\
|
|||
COPY . .
|
||||
|
||||
# Build for ARM64 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 aarch64-apple-darwin && \
|
||||
SANDBOX_AGENT_SKIP_INSPECTOR=1 cargo build -p sandbox-agent --release --target aarch64-apple-darwin && \
|
||||
mkdir -p /artifacts && \
|
||||
cp target/aarch64-apple-darwin/release/sandbox-agent /artifacts/sandbox-agent-aarch64-apple-darwin
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue