You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ if [ "8.1" ] | index(env.version | rtrimstr("-rc")) then ( -}}
329
+
{{ if env.version | rtrimstr("-rc") == "8.1" then ( -}}
330
330
# --enable-ftp is included here for compatibility with existing versions. ftp_ssl_connect() needed ftp to be compiled statically before PHP 7.0 (see https://github.com/docker-library/php/issues/236).
331
331
--enable-ftp \
332
332
{{ ) else "" end -}}
@@ -348,7 +348,7 @@ RUN set -eux; \
348
348
--with-readline \
349
349
--with-zlib \
350
350
\
351
-
{{ if [ "cli", "zts" ] | index(env.variant) then ( -}}
351
+
{{ if env.variant | IN("cli", "zts") then ( -}}
352
352
# https://github.com/docker-library/php/pull/1259
353
353
--enable-phpdbg \
354
354
--enable-phpdbg-readline \
@@ -360,7 +360,7 @@ RUN set -eux; \
360
360
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear")
361
361
--with-pear \
362
362
\
363
-
{{ if [ "8.1", "8.2" ] | index(env.version | rtrimstr("-rc")) then ( -}}
363
+
{{ if env.version | rtrimstr("-rc") | IN("8.1", "8.2") then ( -}}
364
364
# bundled pcre does not support JIT on riscv64 until 10.41 (php 8.3+)
0 commit comments