diff --git a/docker/php/fpm/Dockerfile b/docker/php/fpm/Dockerfile index ae5a5159..730ceb13 100644 --- a/docker/php/fpm/Dockerfile +++ b/docker/php/fpm/Dockerfile @@ -6,12 +6,6 @@ ENV PHP_VERSION="8.4" # Install packages for PHP and extensions RUN PHP_EXTENSIONS="apcu bcmath ctype curl dom fileinfo fpm gmp mbstring opcache pcntl pdo_mysql phar redis simplexml sockets tokenizer xdebug xml xmlreader xmlwriter" \ - && case "${PHP_VERSION}" in \ - 8.4) echo "Building with PHP ${PHP_VERSION} ..." ;; \ - 8.3) echo "Building with PHP ${PHP_VERSION} ..." ;; \ - 8.2) echo "Building with PHP ${PHP_VERSION} ..." ;; \ - *) echo "Unsupported PHP version: ${PHP_VERSION}"; exit 1 ;; \ - esac \ && PHP_PACKAGE="php${PHP_VERSION/./}" \ && PHP_SUBPACKAGES="" \ && for EXTENSION in ${PHP_EXTENSIONS}; do \ diff --git a/docker/php/roadrunner/Dockerfile b/docker/php/roadrunner/Dockerfile index 25d16eef..c909e155 100644 --- a/docker/php/roadrunner/Dockerfile +++ b/docker/php/roadrunner/Dockerfile @@ -9,14 +9,8 @@ ENV PHP_VERSION="8.4" # Install packages for PHP and extensions RUN PHP_EXTENSIONS="apcu bcmath ctype curl dom fileinfo gmp mbstring opcache pcntl pdo_mysql phar redis simplexml sockets tokenizer xdebug xml xmlreader xmlwriter" \ - && case "${PHP_VERSION}" in \ - 8.4) echo "Building with PHP ${PHP_VERSION} ..." ;; \ - 8.3) echo "Building with PHP ${PHP_VERSION} ..." ;; \ - 8.2) echo "Building with PHP ${PHP_VERSION} ..." ;; \ - *) echo "Unsupported PHP version: ${PHP_VERSION}"; exit 1 ;; \ - esac \ && PHP_PACKAGE="php${PHP_VERSION/./}" \ - && PHP_SUBPACKAGES="" \ + && PHP_SUBPACKAGES="" \ && for EXTENSION in ${PHP_EXTENSIONS}; do \ PHP_SUBPACKAGES="${PHP_SUBPACKAGES} ${PHP_PACKAGE}-${EXTENSION}"; \ done \