File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 44ARG 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
429427ARG 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
You can’t perform that action at this time.
0 commit comments