diff --git a/php-81/Dockerfile b/php-81/Dockerfile index fb2acdfe..8e5f81aa 100644 --- a/php-81/Dockerfile +++ b/php-81/Dockerfile @@ -4,7 +4,7 @@ ARG IMAGE_VERSION_SUFFIX # https://www.php.net/downloads -ARG VERSION_PHP=8.1.25 +ARG VERSION_PHP=8.1.26 # Lambda uses a custom AMI named Amazon Linux 2 diff --git a/php-82/Dockerfile b/php-82/Dockerfile index f26c9178..cb2a0db3 100644 --- a/php-82/Dockerfile +++ b/php-82/Dockerfile @@ -4,7 +4,7 @@ ARG IMAGE_VERSION_SUFFIX # https://www.php.net/downloads -ARG VERSION_PHP=8.2.12 +ARG VERSION_PHP=8.2.13 # Lambda uses a custom AMI named Amazon Linux 2 diff --git a/php-83/Dockerfile b/php-83/Dockerfile index dd050853..2ae63a7a 100644 --- a/php-83/Dockerfile +++ b/php-83/Dockerfile @@ -4,8 +4,7 @@ ARG IMAGE_VERSION_SUFFIX # https://www.php.net/downloads -ARG DOWNLOAD_USER=eric -ARG VERSION_PHP=8.3.0RC6 +ARG VERSION_PHP=8.3.0 # Lambda uses a custom AMI named Amazon Linux 2 @@ -382,9 +381,8 @@ WORKDIR ${PHP_BUILD_DIR} # --location will follow redirects # --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 DOWNLOAD_USER ARG VERSION_PHP -RUN curl --location --silent --show-error --fail https://downloads.php.net/~${DOWNLOAD_USER}/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