We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3803ca9 commit 4f03a7fCopy full SHA for 4f03a7f
1 file changed
Dockerfile-linux.template
@@ -284,7 +284,7 @@ RUN set -eux; \
284
# https://github.com/docker-library/php/issues/888
285
"linux-headers",
286
# oniguruma is part of mbstring in php 7.4+
287
- "oniguruma-dev"
+ if install_pear_pecl then "oniguruma-dev" else empty end
288
else
289
# debian packages
290
if env.variant == "apache" then "apache2-dev" else empty end,
@@ -297,7 +297,7 @@ RUN set -eux; \
297
"libxml2-dev",
298
"zlib1g-dev",
299
300
- "libonig-dev"
+ if install_pear_pecl then "libonig-dev" else empty end
301
end ] | sort[] | (
302
-}}
303
{{ . }} \
0 commit comments