Skip to content

Commit d4ebb74

Browse files
authored
Merge pull request #221 from mykiwi-forks/php8.4
PHP 8.4 released 🥳
2 parents 1cc50f4 + e210597 commit d4ebb74

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

php-84/Dockerfile

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
ARG IMAGE_VERSION_SUFFIX
55

66
# https://www.php.net/downloads
7-
ARG RELEASE_USER_PHP=calvinb
8-
ARG VERSION_PHP=8.4.0RC4
7+
ARG VERSION_PHP=8.4.0
98

109

1110
# Lambda uses a custom AMI named Amazon Linux 2
@@ -425,9 +424,8 @@ WORKDIR ${PHP_BUILD_DIR}
425424
# --location will follow redirects
426425
# --silent will hide the progress, but also the errors: we restore error messages with --show-error
427426
# --fail makes sure that curl returns an error instead of fetching the 404 page
428-
ARG RELEASE_USER_PHP
429427
ARG VERSION_PHP
430-
RUN curl --location --silent --show-error --fail https://downloads.php.net/~${RELEASE_USER_PHP}/php-${VERSION_PHP}.tar.gz \
428+
RUN curl --location --silent --show-error --fail https://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \
431429
| tar xzC . --strip-components=1
432430

433431
# Configure the build

0 commit comments

Comments
 (0)