Skip to content

Commit d2250f4

Browse files
authored
Merge pull request #188 from GrahamCampbell/php-84-alpha2
Upgrade to PHP 8.4.0 alpha2
2 parents 771bd4b + 649f28d commit d2250f4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

php-84/Dockerfile

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

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

910

1011
# Lambda uses a custom AMI named Amazon Linux 2
@@ -422,8 +423,9 @@ WORKDIR ${PHP_BUILD_DIR}
422423
# --location will follow redirects
423424
# --silent will hide the progress, but also the errors: we restore error messages with --show-error
424425
# --fail makes sure that curl returns an error instead of fetching the 404 page
426+
ARG RELEASE_USER_PHP
425427
ARG VERSION_PHP
426-
RUN curl --location --silent --show-error --fail https://downloads.php.net/~saki/php-${VERSION_PHP}.tar.gz \
428+
RUN curl --location --silent --show-error --fail https://downloads.php.net/~${RELEASE_USER_PHP}/php-${VERSION_PHP}.tar.gz \
427429
| tar xzC . --strip-components=1
428430

429431
# Configure the build

0 commit comments

Comments
 (0)