Custom Docker image for Cloud Agent Environment doesn't work at all

Hey, thanks for the report. The Cloud Agent custom Dockerfile currently has limited debugging capabilities, and the team is working on improvements.

A community member found a workaround that might help:

  • Place both environment.json and Dockerfile in the .cursor/ directory
  • Install sudo in your Dockerfile
  • Grant execute permissions to scripts in bin/ (for example, bundle, rails, setup, etc.)

The thread with the solution is here.

The team knows the current UX needs improvement. Please try the workaround and let us know if it helps.

1 Like