-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there an easy way to recompile php with extra ./configure options. #111
Comments
Since this is not the default or upstream recommended option and would affect the users of the image, I think the easiest would be to fork the Dockerfile and build it for your needs. |
Same question here, I want to configure with
Edit/Update: I see now that it is explicitly set within the Dockerfile:
Still cannot modify it from outside though... Edit/Update 2: Ah, my bad, apparently ENV only works on run, not on build. |
@janpapenbrock In the case of the See this gist, which uses an example from the PHP You can build and test it like so: $ git clone https://gist.github.com/f0ca3ba1c2b0f04785fb.git php-sockets-test
$ docker build -t php-sockets-test php-sockets-test
$ docker run --rm php-sockets-test This doesn't work in the case of some modules or for special flags like |
I would swear it didn't work when I tested So thanks for your help! And sorry for hijacking this issue... |
FTR, we merged some official ZTS variants in #171. 👍 |
Is there an easy way of adding the option to compile with the --enable-maintainer-zts option or should I create an alternative image for this?
Sorry if i'm being blind and it's already there.
The text was updated successfully, but these errors were encountered: