mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
ci: add cursor agent to Docker image pipeline (#3051)
Adds cursor.Dockerfile and includes cursor in the docker.yml matrix so nightly builds produce ghcr.io/openrouterteam/spawn-cursor:latest. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ccee04f53d
commit
dcb740ec68
2 changed files with 22 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, openclaw, opencode, kilocode, zeroclaw, hermes, junie]
|
||||
agent: [claude, codex, cursor, openclaw, opencode, kilocode, zeroclaw, hermes, junie]
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
|
||||
|
|
|
|||
21
sh/docker/cursor.Dockerfile
Normal file
21
sh/docker/cursor.Dockerfile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
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 unzip && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Cursor CLI
|
||||
RUN curl -fsSL https://cursor.com/install | bash || \
|
||||
[ -f /root/.local/bin/cursor ]
|
||||
|
||||
# Ensure tools are on PATH for all shells
|
||||
RUN for rc in /root/.bashrc /root/.zshrc; do \
|
||||
grep -q '.local/bin' "$rc" 2>/dev/null || \
|
||||
echo 'export PATH="$HOME/.local/bin:$PATH"' >> "$rc"; \
|
||||
done
|
||||
|
||||
CMD ["/bin/sleep", "inf"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue