mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-16 20:01:08 +00:00
fix(docker): publish spawn-pi image so --beta sandbox works for pi (#3373)
Some checks failed
CLI Release / Build and release CLI (push) Has been cancelled
Build Docker Images / build (claude) (push) Has been cancelled
Build Docker Images / build (codex) (push) Has been cancelled
Build Docker Images / build (cursor) (push) Has been cancelled
Build Docker Images / build (hermes) (push) Has been cancelled
Build Docker Images / build (junie) (push) Has been cancelled
Build Docker Images / build (kilocode) (push) Has been cancelled
Build Docker Images / build (openclaw) (push) Has been cancelled
Build Docker Images / build (opencode) (push) Has been cancelled
Build Docker Images / build (pi) (push) Has been cancelled
Lint / ShellCheck (push) Has been cancelled
Lint / Biome Lint (push) Has been cancelled
Lint / macOS Compatibility (push) Has been cancelled
Some checks failed
CLI Release / Build and release CLI (push) Has been cancelled
Build Docker Images / build (claude) (push) Has been cancelled
Build Docker Images / build (codex) (push) Has been cancelled
Build Docker Images / build (cursor) (push) Has been cancelled
Build Docker Images / build (hermes) (push) Has been cancelled
Build Docker Images / build (junie) (push) Has been cancelled
Build Docker Images / build (kilocode) (push) Has been cancelled
Build Docker Images / build (openclaw) (push) Has been cancelled
Build Docker Images / build (opencode) (push) Has been cancelled
Build Docker Images / build (pi) (push) Has been cancelled
Lint / ShellCheck (push) Has been cancelled
Lint / Biome Lint (push) Has been cancelled
Lint / macOS Compatibility (push) Has been cancelled
The sandbox flow on local pulls ghcr.io/openrouterteam/spawn-<agent>:latest, but the Docker build matrix in .github/workflows/docker.yml didn't include `pi` and there was no sh/docker/pi.Dockerfile, so the image was never published. `spawn pi local --beta sandbox` failed with "denied" pulling spawn-pi:latest. Adds the Dockerfile (mirrors kilocode/codex: Ubuntu 24.04 + Node 22 + `npm install -g @mariozechner/pi-coding-agent`) and registers `pi` in the workflow matrix. The next scheduled or manual run will publish ghcr.io/openrouterteam/spawn-pi:latest. Co-authored-by: A <258483684+la14-1@users.noreply.github.com>
This commit is contained in:
parent
1ac0171daf
commit
83ecccf4ad
2 changed files with 18 additions and 1 deletions
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
agent: [claude, codex, cursor, openclaw, opencode, kilocode, hermes, junie]
|
||||
agent: [claude, codex, cursor, openclaw, opencode, kilocode, hermes, junie, pi]
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
|
||||
|
|
|
|||
17
sh/docker/pi.Dockerfile
Normal file
17
sh/docker/pi.Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM ubuntu:24.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Base packages
|
||||
RUN apt-get update -y && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
curl git ca-certificates build-essential unzip zsh && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Node.js 22 via n
|
||||
RUN curl --proto '=https' -fsSL https://raw.githubusercontent.com/tj/n/master/bin/n | bash -s install 22
|
||||
|
||||
# Pi (pi-coding-agent)
|
||||
RUN npm install -g @mariozechner/pi-coding-agent
|
||||
|
||||
CMD ["/bin/sleep", "inf"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue