Skip to content

Commit

Permalink
PHP 8.4 released 🥳
Browse files Browse the repository at this point in the history
  • Loading branch information
mykiwi committed Nov 20, 2024
1 parent 1cc50f4 commit e210597
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions php-84/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
ARG IMAGE_VERSION_SUFFIX

# https://www.php.net/downloads
ARG RELEASE_USER_PHP=calvinb
ARG VERSION_PHP=8.4.0RC4
ARG VERSION_PHP=8.4.0


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

# Configure the build
Expand Down

0 comments on commit e210597

Please sign in to comment.