mirror of
https://github.com/docker-library/php.git
synced 2025-07-28 23:21:13 +00:00
Fix template (not sure why CI didn't catch this)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user