Skip to content

Commit 4c35ff2

Browse files
brettchienthepagent
authored andcommitted
docs(docker): document Cursor tarball URL source in Dockerfile.cursor
Add a comment explaining the Cursor tarball URL pattern (downloads.cursor.com/lab/<version>/linux/<arch>/...) and that it's scraped from the official downloads page — there's no apt/yum package. If Cursor changes the URL scheme, the build will fail with a curl 404 at build time, so future maintainers have a hint of where to check. Addresses non-blocking review comment on PR #301 from @masami-agent.
1 parent e2e9833 commit 4c35ff2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Dockerfile.cursor

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ FROM debian:bookworm-slim
1111
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl procps && rm -rf /var/lib/apt/lists/*
1212

1313
# Install Cursor Agent CLI (pinned version)
14+
# Tarball source: https://downloads.cursor.com/lab/<version>/linux/<arch>/agent-cli-package.tar.gz
15+
# URL scheme scraped from Cursor's official downloads page — no apt/yum package exists.
16+
# If Cursor changes this pattern, the build fails with curl 404. Monitor
17+
# https://cursor.com/cli or https://docs.cursor.com/cli for version/URL updates.
1418
ARG CURSOR_VERSION=2026.04.08-a41fba1
1519
RUN ARCH=$(dpkg --print-architecture) && \
1620
if [ "$ARCH" = "arm64" ]; then ARCH=arm64; else ARCH=x64; fi && \

0 commit comments

Comments
 (0)