Skip to content

Commit dcb740e

Browse files
AhmedTMMclaude
andauthored
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>
1 parent ccee04f commit dcb740e

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
agent: [claude, codex, openclaw, opencode, kilocode, zeroclaw, hermes, junie]
23+
agent: [claude, codex, cursor, openclaw, opencode, kilocode, zeroclaw, hermes, junie]
2424
steps:
2525
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2626

sh/docker/cursor.Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM ubuntu:24.04
2+
3+
ENV DEBIAN_FRONTEND=noninteractive
4+
5+
# Base packages
6+
RUN apt-get update -y && \
7+
apt-get install -y --no-install-recommends \
8+
curl git ca-certificates unzip && \
9+
rm -rf /var/lib/apt/lists/*
10+
11+
# Cursor CLI
12+
RUN curl -fsSL https://cursor.com/install | bash || \
13+
[ -f /root/.local/bin/cursor ]
14+
15+
# Ensure tools are on PATH for all shells
16+
RUN for rc in /root/.bashrc /root/.zshrc; do \
17+
grep -q '.local/bin' "$rc" 2>/dev/null || \
18+
echo 'export PATH="$HOME/.local/bin:$PATH"' >> "$rc"; \
19+
done
20+
21+
CMD ["/bin/sleep", "inf"]

0 commit comments

Comments
 (0)