Skip to content

Commit e24599d

Browse files
tianontobias-schaefer
authored andcommitted
Fix template (not sure why CI didn't catch this)
1 parent dcfb32c commit e24599d

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
@@ -542,10 +542,10 @@ COPY --from=ghcr.io/php/pie:bin /pie /usr/bin/pie
542542
{{ ) else "" end -}}
543543
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
544544

545-
{{ if rcVersion | IN("8.1", "8.2", "8.3", "8.4") then ( -}}
545+
{{ if IN(rcVersion; "8.1", "8.2", "8.3", "8.4") then ( -}}
546546
# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
547547
RUN docker-php-ext-enable opcache
548-
{{ ) end -}}
548+
{{ ) else "" end -}}
549549

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

0 commit comments

Comments
 (0)