From 246394c1b8541d02cc085efc5689f8cc758c6b73 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 6 Aug 2026 12:59:35 +0000 Subject: [PATCH] fix(env): upgrade Dockerfile to PHP 8.4 for composer.lock compatibility 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 --- .cursor/Dockerfile | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.cursor/Dockerfile b/.cursor/Dockerfile index cec7cf0..2043a62 100644 --- a/.cursor/Dockerfile +++ b/.cursor/Dockerfile @@ -6,21 +6,23 @@ RUN apt-get update \ curl \ git \ gnupg \ + software-properties-common \ unzip \ sqlite3 \ - php8.3-cli \ - php8.3-mbstring \ - php8.3-xml \ - php8.3-curl \ - php8.3-zip \ - php8.3-sqlite3 \ - php8.3-mysql \ - php8.3-bcmath \ - php8.3-intl \ + && add-apt-repository ppa:ondrej/php -y \ + && apt-get update \ + && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + php8.4-cli \ + php8.4-mbstring \ + php8.4-xml \ + php8.4-curl \ + php8.4-zip \ + php8.4-sqlite3 \ + php8.4-mysql \ + php8.4-bcmath \ + php8.4-intl \ && rm -rf /var/lib/apt/lists/* -# tokenizer and fileinfo are provided by php8.3-common (pulled in via php8.3-cli) - # Install Node.js 22 from NodeSource using a keyring + .sources entry (no remote setup script) RUN mkdir -p /usr/share/keyrings \ && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \