diff --git a/Dockerfile b/Dockerfile index 735af46..79cf71e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ # Which versions? -ARG PHP_VERSION=8.3.30 -ARG PDO_SQLSRV_EXT_VERSION=5.12.0 +ARG PHP_VERSION=8.5.3 +ARG PDO_SQLSRV_EXT_VERSION=5.13.0 ARG REDIS_EXT_VERSION=6.3.0 ARG IMAGICK_EXT_VERSION=3.8.1 ARG PCOV_EXT_VERSION=1.0.12 ARG HTTPD_VERSION=2.4.66 ARG NGINX_VERSION=1.28.1 -ARG NODE_VERSION=24.13.0 +ARG NODE_VERSION=24.13.1 ARG COMPOSER_VERSION=2.9.3 # Inherit from Heroku's stack @@ -34,10 +34,10 @@ RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-he # Install PHP RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-amd64-stable/php-$PHP_VERSION.tar.gz | tar xz -C /app/.heroku/php -RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-amd64-stable/extensions/no-debug-non-zts-20230831/redis-$REDIS_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php -RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-amd64-stable/extensions/no-debug-non-zts-20230831/imagick-$IMAGICK_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php -RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-amd64-stable/extensions/no-debug-non-zts-20230831/pcov-$PCOV_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php -RUN curl --silent --location https://robuust-heroku-php.s3.eu-west-1.amazonaws.com/dist-heroku-24-develop/extensions/no-debug-non-zts-20230831/pdo_sqlsrv-$PDO_SQLSRV_EXT_VERSION-x86.tar.gz | tar xz -C /app/.heroku/php +RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-amd64-stable/extensions/no-debug-non-zts-20250925/redis-$REDIS_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php +RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-amd64-stable/extensions/no-debug-non-zts-20250925/imagick-$IMAGICK_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php +RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-amd64-stable/extensions/no-debug-non-zts-20250925/pcov-$PCOV_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php +RUN curl --silent --location https://robuust-heroku-php.s3.eu-west-1.amazonaws.com/dist-heroku-24-develop/extensions/no-debug-non-zts-20250925/pdo_sqlsrv-$PDO_SQLSRV_EXT_VERSION-x86.tar.gz | tar xz -C /app/.heroku/php # Install Composer RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-amd64-stable/composer-$COMPOSER_VERSION.tar.gz | tar xz -C /app/.heroku/php @@ -70,10 +70,10 @@ RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-he # Install PHP RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-arm64-stable/php-$PHP_VERSION.tar.gz | tar xz -C /app/.heroku/php -RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-arm64-stable/extensions/no-debug-non-zts-20230831/redis-$REDIS_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php -RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-arm64-stable/extensions/no-debug-non-zts-20230831/imagick-$IMAGICK_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php -RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-arm64-stable/extensions/no-debug-non-zts-20230831/pcov-$PCOV_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php -RUN curl --silent --location https://robuust-heroku-php.s3.eu-west-1.amazonaws.com/dist-heroku-24-develop/extensions/no-debug-non-zts-20230831/pdo_sqlsrv-$PDO_SQLSRV_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php +RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-arm64-stable/extensions/no-debug-non-zts-20250925/redis-$REDIS_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php +RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-arm64-stable/extensions/no-debug-non-zts-20250925/imagick-$IMAGICK_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php +RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-arm64-stable/extensions/no-debug-non-zts-20250925/pcov-$PCOV_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php +RUN curl --silent --location https://robuust-heroku-php.s3.eu-west-1.amazonaws.com/dist-heroku-24-develop/extensions/no-debug-non-zts-20250925/pdo_sqlsrv-$PDO_SQLSRV_EXT_VERSION.tar.gz | tar xz -C /app/.heroku/php # Install Composer RUN curl --silent --location https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-arm64-stable/composer-$COMPOSER_VERSION.tar.gz | tar xz -C /app/.heroku/php diff --git a/README.md b/README.md index 094170f..83118c9 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Usage: `FROM ghcr.io/robuust/heroku-php:pdo_sqlsrv` * Heroku 24 * Apache * Nginx -* PHP 8.3.x with Redis, Imagick, PCov and PDO SQL Server +* PHP 8.5.x with Redis, Imagick, PCov and PDO SQL Server * Composer 2 * Node 24.x * Yarn 4.x diff --git a/packages.json b/packages.json index 523c279..d6fdc06 100644 --- a/packages.json +++ b/packages.json @@ -1,72 +1,42 @@ { - "packages": [ - [ - { - "name": "heroku-sys/ext-pdo_sqlsrv", - "version": "5.12.0", - "type": "heroku-sys-php-extension", - "require": { - "heroku-sys/heroku": "^24.0.0", - "heroku-sys/php": "8.3.*", - "heroku/installer-plugin": "^1.2.0" - }, - "dist": { - "type": "heroku-sys-tar", - "url": "https://robuust-heroku-php.s3.eu-west-1.amazonaws.com/dist-heroku-24-develop/extensions/no-debug-non-zts-20230831/pdo_sqlsrv-5.12.0-x86.tar.gz" - }, - "time": "2024-12-03 15:31:30" - } - ], - [ - { - "name": "heroku-sys/ext-pdo_sqlsrv", - "version": "5.12.0", - "type": "heroku-sys-php-extension", - "require": { - "heroku-sys/heroku": "^22.0.0", - "heroku-sys/php": "8.3.*", - "heroku/installer-plugin": "^1.2.0" - }, - "dist": { - "type": "heroku-sys-tar", - "url": "https://robuust-heroku-php.s3.eu-west-1.amazonaws.com/dist-heroku-22-develop/extensions/no-debug-non-zts-20230831/pdo_sqlsrv-5.12.0-x86.tar.gz" - }, - "time": "2024-02-01 15:31:30" - } - ], - [ - { - "name": "heroku-sys/ext-pdo_sqlsrv", - "version": "5.12.0", - "type": "heroku-sys-php-extension", - "require": { - "heroku-sys/heroku": "^22.0.0", - "heroku-sys/php": "8.2.*", - "heroku/installer-plugin": "^1.2.0" - }, - "dist": { - "type": "heroku-sys-tar", - "url": "https://robuust-heroku-php.s3.eu-west-1.amazonaws.com/dist-heroku-22-develop/extensions/no-debug-non-zts-20220829/pdo_sqlsrv-5.12.0-x86.tar.gz" - }, - "time": "2024-02-01 15:31:30" - } - ], - [ - { - "name": "heroku-sys/ext-pdo_sqlsrv", - "version": "5.12.0", - "type": "heroku-sys-php-extension", - "require": { - "heroku-sys/heroku": "^22.0.0", - "heroku-sys/php": "8.1.*", - "heroku/installer-plugin": "^1.2.0" - }, - "dist": { - "type": "heroku-sys-tar", - "url": "https://robuust-heroku-php.s3.eu-west-1.amazonaws.com/dist-heroku-22-develop/extensions/no-debug-non-zts-20210902/pdo_sqlsrv-5.12.0-x86.tar.gz" - }, - "time": "2024-02-01 15:31:30" - } - ] - ] -} \ No newline at end of file + "packages": { + "heroku-sys/ext-pdo_sqlsrv": [ + { + "conflict": {}, + "dist": { + "type": "heroku-sys-tar", + "url": "https://robuust-heroku-php.s3.eu-west-1.amazonaws.com/dist-heroku-24-develop/extensions/no-debug-non-zts-20250925/pdo_sqlsrv-5.13.0-x86.tar.gz" + }, + "name": "heroku-sys/ext-pdo_sqlsrv", + "provide": {}, + "replace": {}, + "require": { + "heroku-sys/heroku": "^24.0.0", + "heroku-sys/php": "8.5.*", + "heroku/installer-plugin": "^1.2.0" + }, + "time": "2026-03-09 11:52:30", + "type": "heroku-sys-php-extension", + "version": "5.13.0" + }, + { + "conflict": {}, + "dist": { + "type": "heroku-sys-tar", + "url": "https://robuust-heroku-php.s3.eu-west-1.amazonaws.com/dist-heroku-24-develop/extensions/no-debug-non-zts-20240924/pdo_sqlsrv-5.13.0-x86.tar.gz" + }, + "name": "heroku-sys/ext-pdo_sqlsrv", + "provide": {}, + "replace": {}, + "require": { + "heroku-sys/heroku": "^24.0.0", + "heroku-sys/php": "8.4.*", + "heroku/installer-plugin": "^1.2.0" + }, + "time": "2026-03-09 11:52:30", + "type": "heroku-sys-php-extension", + "version": "5.13.0" + } + ] + } +}