diff --git a/php-82/Dockerfile b/php-82/Dockerfile index ce16612c..6c1d33b1 100644 --- a/php-82/Dockerfile +++ b/php-82/Dockerfile @@ -70,7 +70,7 @@ RUN mkdir -p ${BUILD_DIR} \ # Needed by: # - php RUN LD_LIBRARY_PATH= dnf install -y tcl -ENV VERSION_SQLITE=3.50.4 +ENV VERSION_SQLITE=3.51.1 ENV SQLITE_BUILD_DIR=${BUILD_DIR}/sqlite RUN set -xe; \ mkdir -p ${SQLITE_BUILD_DIR}; \ @@ -179,7 +179,7 @@ RUN set -xe; \ # Install extensions # We can install extensions manually or using `pecl` RUN pecl install APCu -RUN pecl install redis-6.2.0 +RUN pecl install redis-6.3.0 # --------------------------------------------------------------- @@ -238,7 +238,7 @@ FROM build-environment as build_dev RUN mkdir -p /opt/bref/extensions # Install xdebug -RUN pecl install xdebug-3.4.2 +RUN pecl install xdebug-3.4.7 RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions diff --git a/php-83/Dockerfile b/php-83/Dockerfile index 27880ba5..9c93c48e 100644 --- a/php-83/Dockerfile +++ b/php-83/Dockerfile @@ -4,7 +4,7 @@ ARG IMAGE_VERSION_SUFFIX # https://www.php.net/downloads -ARG VERSION_PHP=8.3.26 +ARG VERSION_PHP=8.3.28 # Lambda uses a custom AMI named Amazon Linux 2023 @@ -70,7 +70,7 @@ RUN mkdir -p ${BUILD_DIR} \ # Needed by: # - php RUN LD_LIBRARY_PATH= dnf install -y tcl -ENV VERSION_SQLITE=3.50.4 +ENV VERSION_SQLITE=3.51.1 ENV SQLITE_BUILD_DIR=${BUILD_DIR}/sqlite RUN set -xe; \ mkdir -p ${SQLITE_BUILD_DIR}; \ @@ -179,7 +179,7 @@ RUN set -xe; \ # Install extensions # We can install extensions manually or using `pecl` RUN pecl install APCu -RUN pecl install redis-6.2.0 +RUN pecl install redis-6.3.0 # --------------------------------------------------------------- @@ -238,7 +238,7 @@ FROM build-environment as build_dev RUN mkdir -p /opt/bref/extensions # Install xdebug -RUN pecl install xdebug-3.4.2 +RUN pecl install xdebug-3.4.7 RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions diff --git a/php-84/Dockerfile b/php-84/Dockerfile index c8cebcbe..25738a45 100644 --- a/php-84/Dockerfile +++ b/php-84/Dockerfile @@ -4,7 +4,7 @@ ARG IMAGE_VERSION_SUFFIX # https://www.php.net/downloads -ARG VERSION_PHP=8.4.13 +ARG VERSION_PHP=8.4.15 # Lambda uses a custom AMI named Amazon Linux 2023 @@ -70,7 +70,7 @@ RUN mkdir -p ${BUILD_DIR} \ # Needed by: # - php RUN LD_LIBRARY_PATH= dnf install -y tcl -ENV VERSION_SQLITE=3.50.4 +ENV VERSION_SQLITE=3.51.1 ENV SQLITE_BUILD_DIR=${BUILD_DIR}/sqlite RUN set -xe; \ mkdir -p ${SQLITE_BUILD_DIR}; \ @@ -178,7 +178,7 @@ RUN set -xe; \ # Install extensions # We can install extensions manually or using `pecl` RUN pecl install APCu -RUN pecl install redis-6.2.0 +RUN pecl install redis-6.3.0 # --------------------------------------------------------------- @@ -237,7 +237,7 @@ FROM build-environment as build_dev RUN mkdir -p /opt/bref/extensions # Install xdebug -RUN pecl install xdebug-3.4.2 +RUN pecl install xdebug-3.4.7 RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions diff --git a/php-85/Dockerfile b/php-85/Dockerfile index 2bd04e49..e9466994 100644 --- a/php-85/Dockerfile +++ b/php-85/Dockerfile @@ -4,7 +4,7 @@ ARG IMAGE_VERSION_SUFFIX # https://www.php.net/downloads -ARG VERSION_PHP=8.5.0RC1 +ARG VERSION_PHP=8.5.0 # Lambda uses a custom AMI named Amazon Linux 2023 @@ -70,7 +70,7 @@ RUN mkdir -p ${BUILD_DIR} \ # Needed by: # - php RUN LD_LIBRARY_PATH= dnf install -y tcl -ENV VERSION_SQLITE=3.50.4 +ENV VERSION_SQLITE=3.51.1 ENV SQLITE_BUILD_DIR=${BUILD_DIR}/sqlite RUN set -xe; \ mkdir -p ${SQLITE_BUILD_DIR}; \ @@ -113,7 +113,7 @@ WORKDIR ${PHP_BUILD_DIR} # --silent will hide the progress, but also the errors: we restore error messages with --show-error # --fail makes sure that curl returns an error instead of fetching the 404 page ARG VERSION_PHP -RUN curl --location --silent --show-error --fail https://downloads.php.net/~daniels/php-${VERSION_PHP}.tar.gz \ +RUN curl --location --silent --show-error --fail https://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \ | tar xzC . --strip-components=1 # Configure the build @@ -178,8 +178,7 @@ RUN set -xe; \ # Install extensions # We can install extensions manually or using `pecl` RUN pecl install APCu -# TODO not available for PHP 8.5 yet -#RUN pecl install redis-6.2.0 +RUN pecl install redis-6.3.0 # ---------------------------------------------------------------