-
Notifications
You must be signed in to change notification settings - Fork 38
Migrate to official php image #13
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 GitHu 8000 b”, 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
Comments
@clue Any opinion on this? |
There is now an official image based on alpine (eg php:7.0-fpm-alpine), so it could solve #16 at the same time |
Sounds good to me! 👍 Does anybody feel like filing a PR? |
@clue Good to hear! I think, this image can be simplified a lot. E.g. we should not need any supervisor at all. Using the official apache based PHP image it's only a matter of downloading the adminer source. That should also greatly improve startup/shutdown times. |
That's good to hear and I'm not opposed to getting any optimization in here at all :) This image has initially been created way before official PHP images were a thing. Now let's address these outstanding PRs |
I see that instead of an official PHP base image this project uses a custom setup with nginx + php-fpm which requires supervisord to manage both services. So this is not in line with the recommended docker paradigm of one process per container.
It also seems to slow down the shutdown of this image. In a setup with 5 containers, it's always adminer that I have to wait for.
So would you consider a migration to the official apache based PHP image? It would make the Dockerfile simpler and take the burden of installing PHP from you. You still can tweak the PHP config though, if you want to.
The text was updated successfully, but these errors were encountered: