Commit Graph

10 Commits

Author SHA1 Message Date
Docker Library Bot
fa29b56ad4 Update to 7.2.19 2019-05-30 18:46:11 +00:00
Docker Library Bot
d9352e08aa Update to 7.2.18 2019-05-02 12:46:10 +00:00
Tianon Gravi
545a73c970 Update comment format to match our other inline comments 2019-04-23 14:31:59 -07:00
Luís Cobucci
e21810a050
Perform graceful stops on PHP-FPM
The default signal used by docker to stop a container is SIGTERM and
that signal is understood by PHP-FPM as immediate termination.

This means that `php-fpm` won't wait for in-flight requests to finish
before of stopping the workers and main process. This behaviour is quite
undesired for production environments and should be avoided as much as
possible.

This implementation is meant to be extremely simple and only address the
stop signal used when running `docker stop`. `php-fpm` signal choices
are somewhat peculiar (`SIGUSR2` for example) and if we want to "fix"
them we would have to use a tool (e.g.: `dumb-init`).

More info:

 - https://linux.die.net/man/8/php-fpm
 - https://docs.docker.com/engine/reference/builder/#stopsignal
 - https://github.com/Yelp/dumb-init
 - https://github.com/usabilla/php-docker-template/pull/102
2019-04-18 17:20:45 +02:00
Docker Library Bot
cf02ea0f79 Update to 7.2.17 2019-04-04 22:16:22 +00:00
Docker Library Bot
873725e57e Update to 7.2.16 2019-03-07 13:47:49 +00:00
Tianon Gravi
a1ebdc9851 Remove "--virtual" where it's not providing value (and use "apk del --no-network" consistently) 2019-03-04 16:41:05 -08:00
Joe Ferguson
640a30e8ff Apply 'remove extensions/*.a' to templates and run update.sh 2019-02-14 16:30:31 -08:00
Docker Library Bot
52c62d3afb Update to 7.2.15 2019-02-07 13:51:14 +00:00
J0WI
90beb19f38 Add Alpine 3.9 variant 2019-02-01 13:37:56 -08:00