Skip to content

Commit 03a9fae

Browse files
author
James Sansbury
committed
Update templates.
1 parent 0fdd2f0 commit 03a9fae

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Dockerfile-alpine.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,8 @@ RUN set -eux; \
155155
--with-openssl \
156156
--with-zlib \
157157
\
158-
{{ if (.version | version_id) | . >= ("7.4" | version_id) and . < ("8" | version_id) then ( -}}
158+
{{ if (.version | version_id) | . >= ("7.4" | version_id) then ( -}}
159159
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear")
160-
# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229
161160
--with-pear \
162161
\
163162
{{ ) else "" end -}}

Dockerfile-debian.template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,8 @@ RUN set -eux; \
184184
--with-openssl \
185185
--with-zlib \
186186
\
187-
{{ if (.version | version_id) | . >= ("7.4" | version_id) and . < ("8" | version_id) then ( -}}
187+
{{ if (.version | version_id) | . >= ("7.4" | version_id) then ( -}}
188188
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear")
189-
# ... and are removed in PHP 8+; see also https://github.com/docker-library/php/pull/847#issuecomment-505638229
190189
--with-pear \
191190
\
192191
{{ ) else "" end -}}

0 commit comments

Comments
 (0)