spawn/sh/docker/cursor.Dockerfile
Ahmed Abushagur dcb740ec68
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>
2026-03-27 13:41:27 +07:00

21 lines
564 B
Docker

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"]