File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 4
4
ARG IMAGE_VERSION_SUFFIX
5
5
6
6
# 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
9
8
10
9
11
10
# Lambda uses a custom AMI named Amazon Linux 2
@@ -425,9 +424,8 @@ WORKDIR ${PHP_BUILD_DIR}
425
424
# --location will follow redirects
426
425
# --silent will hide the progress, but also the errors: we restore error messages with --show-error
427
426
# --fail makes sure that curl returns an error instead of fetching the 404 page
428
- ARG RELEASE_USER_PHP
429
427
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 \
431
429
| tar xzC . --strip-components=1
432
430
433
431
# Configure the build
You can’t perform that action at this time.
0 commit comments