From e210597b3a39dac9b5157c193fa8e3ca0773420c Mon Sep 17 00:00:00 2001 From: Romain Gautier Date: Wed, 20 Nov 2024 19:47:41 +0100 Subject: [PATCH] =?UTF-8?q?PHP=208.4=20released=20=F0=9F=A5=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- php-84/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/php-84/Dockerfile b/php-84/Dockerfile index 3f5d7b69..7f827d41 100644 --- a/php-84/Dockerfile +++ b/php-84/Dockerfile @@ -4,8 +4,7 @@ ARG IMAGE_VERSION_SUFFIX # https://www.php.net/downloads -ARG RELEASE_USER_PHP=calvinb -ARG VERSION_PHP=8.4.0RC4 +ARG VERSION_PHP=8.4.0 # Lambda uses a custom AMI named Amazon Linux 2 @@ -425,9 +424,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 RELEASE_USER_PHP ARG VERSION_PHP -RUN curl --location --silent --show-error --fail https://downloads.php.net/~${RELEASE_USER_PHP}/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