Fix template (not sure why CI didn't catch this)

This commit is contained in:
Tianon Gravi
2025-06-25 10:25:59 -07:00
parent 33c1de7e5b
commit f6469f34a0

View File

@ -516,10 +516,10 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
{{ if rcVersion | IN("8.1", "8.2", "8.3", "8.4") then ( -}}
{{ if IN(rcVersion; "8.1", "8.2", "8.3", "8.4") then ( -}}
# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
RUN docker-php-ext-enable opcache
{{ ) end -}}
{{ ) else "" end -}}
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium