php
php copied to clipboard
Possibility to use additional flags in configure
After following PR https://github.com/docker-library/php/pull/1208 that removes ENV PHP_EXTRA_CONFIGURE_ARGS, it seems that there is no possibility to use additional flags in configure script. This is quite problematic in some cases (for example, if I'd like to include debugging symbols for gdb with --enable-debug flag).
Is there any way to easily use additional PHP core configure option, other than creating the own image from the scratch?
Unfortunately, I think https://github.com/docker-library/php/pull/1364 is as close as we're going to come on this, which on the plus side does cover your --enable-debug use case, but regardless this isn't possible without "building" an image because configure flags can't be changed at runtime regardless. :sweat_smile: