Php: Can we expect alpine images for apache?

Created on 1 Apr 2020  路  1Comment  路  Source: docker-library/php

Is there any plans to do it or should we do it ourselves? If so, is there any guidelines for someone that has only been in the docker/server world for a short time. I am trying to create a small production image because the current php-apache is around 500 MB.

Request

Most helpful comment

https://github.com/docker-library/php/issues/259#issuecomment-232489724

Currently I think it is because the apache part is taken directly from Debian and so it has things that users are used to existing in their php/apache world, which would not necessarily be the case in an alpine version. Also, since the Alpine variants exist mostly for size concerned users, then they would be better served with fpm and something like nginx in front of it.

https://github.com/docker-library/php/issues/259#issuecomment-353680118

Given the complexity involved in duplicating Debian's Apache configuration and usage for Alpine, I don't think this is going to be solved any time soon.

The best advice I can give is to either use the Debian version (since the size difference is not _that_ dramatic, given today's normal storage and bandwidth availability), or to use FPM (which is also much more in the spirit of Alpine's minimalism). Thanks! :heart:

>All comments

https://github.com/docker-library/php/issues/259#issuecomment-232489724

Currently I think it is because the apache part is taken directly from Debian and so it has things that users are used to existing in their php/apache world, which would not necessarily be the case in an alpine version. Also, since the Alpine variants exist mostly for size concerned users, then they would be better served with fpm and something like nginx in front of it.

https://github.com/docker-library/php/issues/259#issuecomment-353680118

Given the complexity involved in duplicating Debian's Apache configuration and usage for Alpine, I don't think this is going to be solved any time soon.

The best advice I can give is to either use the Debian version (since the size difference is not _that_ dramatic, given today's normal storage and bandwidth availability), or to use FPM (which is also much more in the spirit of Alpine's minimalism). Thanks! :heart:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cmath10 picture cmath10  路  3Comments

cordoval picture cordoval  路  3Comments

PMExtra picture PMExtra  路  3Comments

yosifkit picture yosifkit  路  3Comments

nojimage picture nojimage  路  3Comments