Skip to content

Commit 4ce0a7f

Browse files
authored
Merge pull request #141 from GrahamCampbell/php-versions
Upgrade to PHP 8.1.26, 8.2.13 and 8.3.0
2 parents facec03 + a379986 commit 4ce0a7f

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

php-81/Dockerfile

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

66
# https://www.php.net/downloads
7-
ARG VERSION_PHP=8.1.25
7+
ARG VERSION_PHP=8.1.26
88

99

1010
# Lambda uses a custom AMI named Amazon Linux 2

php-82/Dockerfile

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

66
# https://www.php.net/downloads
7-
ARG VERSION_PHP=8.2.12
7+
ARG VERSION_PHP=8.2.13
88

99

1010
# Lambda uses a custom AMI named Amazon Linux 2

php-83/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 DOWNLOAD_USER=eric
8-
ARG VERSION_PHP=8.3.0RC6
7+
ARG VERSION_PHP=8.3.0
98

109

1110
# Lambda uses a custom AMI named Amazon Linux 2
@@ -382,9 +381,8 @@ WORKDIR ${PHP_BUILD_DIR}
382381
# --location will follow redirects
383382
# --silent will hide the progress, but also the errors: we restore error messages with --show-error
384383
# --fail makes sure that curl returns an error instead of fetching the 404 page
385-
ARG DOWNLOAD_USER
386384
ARG VERSION_PHP
387-
RUN curl --location --silent --show-error --fail https://downloads.php.net/~${DOWNLOAD_USER}/php-${VERSION_PHP}.tar.gz \
385+
RUN curl --location --silent --show-error --fail https://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \
388386
| tar xzC . --strip-components=1
389387

390388
# Configure the build

0 commit comments

Comments
 (0)