mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-20 15:01:26 +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
|
|
@ -46,10 +46,11 @@ WORKDIR /build
|
|||
COPY . .
|
||||
|
||||
# Build for Windows
|
||||
# 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-pc-windows-gnu && \
|
||||
SANDBOX_AGENT_SKIP_INSPECTOR=1 cargo build -p sandbox-agent --release --target x86_64-pc-windows-gnu && \
|
||||
mkdir -p /artifacts && \
|
||||
cp target/x86_64-pc-windows-gnu/release/sandbox-agent.exe /artifacts/sandbox-agent-x86_64-pc-windows-gnu.exe
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue