dockerfile: single stage, direct CDN download with optional HTTPS_PROXY build-arg
build-and-push / build (push) Successful in 16m42s
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:
@@ -1,4 +1,3 @@
|
||||
.env
|
||||
*.log
|
||||
node_modules/
|
||||
agent-cache/
|
||||
|
||||
Reference in New Issue
Block a user