Skip to content

Commit f6469f3

Browse files
committed
Fix template (not sure why CI didn't catch this)
1 parent 33c1de7 commit f6469f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile-linux.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,10 +516,10 @@ RUN set -eux; \
516516

517517
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
518518

519-
{{ if rcVersion | IN("8.1", "8.2", "8.3", "8.4") then ( -}}
519+
{{ if IN(rcVersion; "8.1", "8.2", "8.3", "8.4") then ( -}}
520520
# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
521521
RUN docker-php-ext-enable opcache
522-
{{ ) end -}}
522+
{{ ) else "" end -}}
523523

524524
# 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)
525525
RUN docker-php-ext-enable sodium

0 commit comments

Comments
 (0)