Skip to content

Add Cursor Cloud Docker environment with CI validation#166

Merged
kapersoft merged 2 commits into
mainfrom
cursor/cloud-environment-setup
Jul 5, 2026
Merged

Add Cursor Cloud Docker environment with CI validation#166
kapersoft merged 2 commits into
mainfrom
cursor/cloud-environment-setup

Conversation

@kapersoft

Copy link
Copy Markdown
Owner

Summary

  • Adds a .cursor/Dockerfile with PHP 8.5, Composer, and the packages Cursor Cloud needs (openssh-server, sudo, jq) to avoid SSH/sudo setup build failures
  • Adds .cursor/environment.json and an idempotent install script for Composer, .env, SQLite, and migrations
  • Adds .cursor/test-cloud-environment.sh and a GitHub Actions workflow that builds the image and verifies app install, php-quality hooks, and Pest tests

Test plan

  • Confirm the Cloud environment GitHub Actions workflow passes on this PR
  • Start a Cursor Cloud Agent from this branch and verify environment setup completes without the Directory nonexistent error
  • Delete any saved environment snapshot in Dashboard → Environments if the agent still restores an old image

Made with Cursor

kapersoft and others added 2 commits July 5, 2026 21:40
Fixes Cloud Agent build failures by installing openssh-server and sudo before Cursor's SSH setup layer, and adds a workflow that builds the image and verifies install, hooks, and tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
PRs now run checks once via pull_request; pushes to main still run after merge.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kapersoft kapersoft merged commit 825e642 into main Jul 5, 2026
7 checks passed
@kapersoft kapersoft deleted the cursor/cloud-environment-setup branch July 5, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant