php/Dockerfile-cli-block-1.template
Tianon Gravi 73ccb45f47 Add "--enable-embed" to Debian-based CLI variants
This is used for things like NGINX Unit to embed PHP (similar to `mod_php` in Apache, but a more general interface).
2020-12-17 14:32:31 -08:00

5 lines
193 B
Docker

{{ if env.suite | startswith("alpine") | not then ( -}}
# https://github.com/docker-library/php/pull/939#issuecomment-730501748
ENV PHP_EXTRA_CONFIGURE_ARGS --enable-embed
{{ ) else "" end -}}