dockerfile: single stage, direct CDN download with optional HTTPS_PROXY build-arg
build-and-push / build (push) Successful in 16m42s

Replace the local agent-cache COPY trick with a direct pinned download
from downloads.cursor.com (same package layout the official installer
uses). Optional HTTPS_PROXY build-arg covers egress-constrained build
hosts (socks5h:// works — curl honors it); CI runners with direct
egress omit it. Drop the now-unneeded agent-stage multi-stage plumbing.
This commit is contained in:
Ubuntu
2026-10-23 10:31:49 +00:00
parent c0d758249c
commit 7503bdaa10
2 changed files with 17 additions and 27 deletions
-1
View File
@@ -1,4 +1,3 @@
.env
*.log
node_modules/
agent-cache/