diff --git a/php-82/Dockerfile b/php-82/Dockerfile index f11087ed..1fdf87d8 100644 --- a/php-82/Dockerfile +++ b/php-82/Dockerfile @@ -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://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \ +RUN curl --location --silent --show-error --fail https://www.php.net/distributions/php-${VERSION_PHP}.tar.gz \ | tar xzC . --strip-components=1 # Configure the build diff --git a/php-83/Dockerfile b/php-83/Dockerfile index ede38b7f..95967804 100644 --- a/php-83/Dockerfile +++ b/php-83/Dockerfile @@ -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://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \ +RUN curl --location --silent --show-error --fail https://www.php.net/distributions/php-${VERSION_PHP}.tar.gz \ | tar xzC . --strip-components=1 # Configure the build diff --git a/php-84/Dockerfile b/php-84/Dockerfile index 1e7a5136..93993dc9 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.24 +ARG VERSION_PHP=8.4.25 # Lambda uses a custom AMI named Amazon Linux 2023 @@ -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://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \ +RUN curl --location --silent --show-error --fail https://www.php.net/distributions/php-${VERSION_PHP}.tar.gz \ | tar xzC . --strip-components=1 # Configure the build diff --git a/php-85/Dockerfile b/php-85/Dockerfile index eb0145a9..3a927154 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.9 +ARG VERSION_PHP=8.5.10 # Lambda uses a custom AMI named Amazon Linux 2023 @@ -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://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \ +RUN curl --location --silent --show-error --fail https://www.php.net/distributions/php-${VERSION_PHP}.tar.gz \ | tar xzC . --strip-components=1 # Configure the build