File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2929 - {base-image: "php:8.2-apache-trixie", php-version: "8.2", latest: "false"}
3030 - {base-image: "php:8.3-apache-trixie", php-version: "8.3", latest: "false"}
3131 - {base-image: "php:8.4-apache-trixie", php-version: "8.4", latest: "true"}
32+ - {base-image: "php:8.5-rc-apache-trixie", php-version: "8.5", latest: "false"}
3233 steps :
3334 - name : " Set variables"
3435 run : |
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ LABEL \
1919
2020RUN apt update \
2121 && PHP_MAJOR_VERSION="$(echo $PHP_VERSION | cut -d '.' -f 1)" \
22+ && PHP_MINOR_VERSION="$(echo $PHP_VERSION | cut -d '.' -f 2)" \
2223 \
2324 # Install bz2 extension (for marketplace).
2425 && apt install --assume-yes --no-install-recommends --quiet libbz2-dev \
@@ -52,8 +53,10 @@ RUN apt update \
5253 # Install bcmath PHP extension.
5354 && docker-php-ext-install bcmath \
5455 \
55- # Install opcache PHP extension.
56- && docker-php-ext-install opcache \
56+ # Install opcache PHP extension (it is already enabled in PHP 8.5+ images).
57+ && if [ $PHP_MINOR_VERSION -ne "8.5" ]; then \
58+ docker-php-ext-install opcache \
59+ ; fi \
5760 \
5861 # Install pcntl PHP extension (required for composer-require-checker).
5962 && docker-php-ext-install pcntl \
You can’t perform that action at this time.
0 commit comments