mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
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>
21 lines
564 B
Docker
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"]
|