Enable OPCache for 8.5 pending upstream changes

See also https://github.com/docker-library/php/pull/1587
This commit is contained in:
Jesper Noordsij
2025-07-02 16:50:30 +02:00
committed by Jesper Noordsij
parent 105bb3e587
commit 6fb4666978

View File

@ -520,7 +520,7 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
{{ if IN(rcVersion; "8.1", "8.2", "8.3", "8.4") then ( -}}
{{ if IN(rcVersion; "8.1", "8.2", "8.3", "8.4", "8.5") then ( -}}
# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
RUN docker-php-ext-enable opcache
{{ ) else "" end -}}