Skip to content

fix(env): upgrade Cloud Agent Dockerfile to PHP 8.4 - #144

Merged
soham2008xyz merged 1 commit into
masterfrom
cursor/env-setup-php84-93b0
Aug 6, 2026
Merged

fix(env): upgrade Cloud Agent Dockerfile to PHP 8.4#144
soham2008xyz merged 1 commit into
masterfrom
cursor/env-setup-php84-93b0

Conversation

@soham2008xyz

Copy link
Copy Markdown
Member

Summary

Updates the Cloud Agent base image from PHP 8.3 to PHP 8.4 so composer install succeeds against the current lockfile.

Symfony 8.1 packages in composer.lock require PHP >=8.4.1. The previous Dockerfile installed PHP 8.3 from Ubuntu defaults, which caused environment setup to fail during bash .cursor/install.sh.

Changes

  • Add the ondrej/php PPA and install PHP 8.4 extensions (replacing PHP 8.3 packages)
  • Keep Node.js 22 and Composer installation unchanged

Validation

Environment setup was tested end-to-end on this branch:

  • bash .cursor/install.sh — passed twice (idempotent)
  • vendor/bin/pint --test — passed
  • composer test — 2 tests passed
  • php artisan serve on port 8000 — homepage HTTP 200
  • User creation via artisan tinker — succeeded
  • Fresh Cloud Agent from build bld-20260806-50d3c92c-83f0-4400-b4eb-1fa96dffe5f1 — 8/8 checks passed

Note

Merge this PR to master before triggering a promotable default-branch environment build. The tested draft build used this branch ref.

Open in Web Open in Cursor 

composer.lock pins Symfony 8.1 packages that require PHP >=8.4.1.
The previous PHP 8.3 image caused composer install to fail during
Cloud Agent environment setup.

Co-authored-by: Soham Banerjee <soham@renderbit.com>
@soham2008xyz
soham2008xyz marked this pull request as ready for review August 6, 2026 13:10
Copilot AI lite review requested due to automatic review settings August 6, 2026 13:10
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Cloud Agent Dockerfile to install PHP 8.4 (via the ondrej/php PPA) on Ubuntu 24.04, aligning the agent environment with the project’s current composer.lock requirements so composer install can succeed during environment provisioning.

Changes:

  • Add software-properties-common and register ppa:ondrej/php to access PHP 8.4 packages on Ubuntu 24.04.
  • Replace PHP 8.3 package installs with PHP 8.4 extensions required by the app.
  • Leave Node.js 22 and Composer installation flow unchanged.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@soham2008xyz
soham2008xyz merged commit 7ed0e70 into master Aug 6, 2026
1 check passed
@soham2008xyz
soham2008xyz deleted the cursor/env-setup-php84-93b0 branch August 6, 2026 13:14
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.

3 participants