diff --git a/php-80/Dockerfile b/php-80/Dockerfile index 4c9806c6..b12b5f45 100644 --- a/php-80/Dockerfile +++ b/php-80/Dockerfile @@ -401,7 +401,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-81/Dockerfile b/php-81/Dockerfile index f35e93d6..a9e7fe1a 100644 --- a/php-81/Dockerfile +++ b/php-81/Dockerfile @@ -423,7 +423,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-82/Dockerfile b/php-82/Dockerfile index 9e4d761f..bf675b6e 100644 --- a/php-82/Dockerfile +++ b/php-82/Dockerfile @@ -423,7 +423,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 bc22a242..baebde75 100644 --- a/php-83/Dockerfile +++ b/php-83/Dockerfile @@ -423,7 +423,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 ad125415..899b84e1 100644 --- a/php-84/Dockerfile +++ b/php-84/Dockerfile @@ -426,7 +426,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