Commit Graph

855 Commits

Author SHA1 Message Date
Tianon Gravi
9e50ad0642 Set STOPSIGNAL to WINCH for httpd's "graceful-stop"
See https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop for more details!

Closes #877
2019-08-20 13:12:33 -07:00
Docker Library Bot
876847bf31 Update to 7.4.0beta2 2019-08-08 12:46:27 +00:00
Docker Library Bot
06247548a0 Update to 7.1.31 2019-08-02 00:46:14 +00:00
Docker Library Bot
b909ae3f88 Update to 7.2.21 2019-08-01 12:46:37 +00:00
Docker Library Bot
135204c0f4 Update to 7.3.8 2019-08-01 12:46:36 +00:00
yosifkit
b381c53c89
Merge pull request #870 from infosiftr/s390x
Update s390x test to the proper dpkg-architecture value
2019-07-29 15:49:07 -07:00
Docker Library Bot
74d5867137 Update to 7.4.0beta1 2019-07-26 12:47:03 +00:00
Joe Ferguson
7eb1b847f1 Update s390x test to the proper dpkg-architecture value
+ dpkg-architecture --query DEB_BUILD_GNU_TYPE
+ gnuArch=s390x-linux-musl
+ test s390x-linux-musl '=' s390x-linux-gnu
2019-07-25 16:06:53 -07:00
yosifkit
a74d01ae3b
Merge pull request #869 from infosiftr/freetype-config
Add temporary "freetype-config" workaround for PHP 7.3, 7.2, and 7.1 on buster
2019-07-22 14:46:41 -07:00
Tianon Gravi
a0ce8afda4 Add temporary "freetype-config" workaround for PHP 7.3, 7.2, and 7.1 on buster
See:

- https://github.com/docker-library/php/issues/865
- https://bugs.php.net/bug.php?id=76324
- https://github.com/php/php-src/pull/3632
- 2d03197749

This is not necessary for Debian Stretch (where `freetype-config` still exists) nor PHP 7.4+ (where `pkg-config` is used instead/in addition).
2019-07-19 14:20:04 -07:00
Docker Library Bot
e85ee95f61 Update to 7.4.0alpha3 2019-07-11 12:46:13 +00:00
Tianon Gravi
a54dc773d3
Merge pull request #861 from J0WI/buster
Add Debian Buster variant
2019-07-10 12:58:29 -07:00
Tianon Gravi
130abe06c4 Update "generate-stackbrew-library.sh" too 2019-07-10 12:58:12 -07:00
J0WI
ccbe53516f Add Debian Buster variant 2019-07-10 17:20:35 +02:00
Docker Library Bot
66234ccc01 Update to 7.2.20 2019-07-04 12:46:24 +00:00
Docker Library Bot
30447e3751 Update to 7.3.7 2019-07-04 12:46:24 +00:00
yosifkit
e8d8d7bab4
Merge pull request #853 from infosiftr/busted
Replace "stretch" with "buster" for PHP 7.4-rc given the imminent Debian release
2019-07-01 17:12:30 -07:00
Tianon Gravi
afa08b1838 Replace "stretch" with "buster" for PHP 7.4-rc given the imminent Debian release
Also, ditch Alpine 3.9 on PHP 7.4-rc.
2019-07-01 14:26:08 -07:00
Docker Library Bot
bbcc3db890 Update to 7.4.0alpha2 2019-06-27 00:46:23 +00:00
yosifkit
eaa29e4a7d
Merge pull request #851 from infosiftr/with-pear
Add "--with-pear" in 7.4
2019-06-26 16:45:07 -07:00
Tianon Gravi
e2331f5270 Add "--with-pear" in 7.4
This means that `pear` and `pecl` will be available for PHP 7.4+, but *will be removed* in PHP 8+ (see https://externals.io/message/103977 for upstream discussion around this deprecation).

I tested the 8+ changes to this script by creating a few fake "8.0" bits in the script itself (fake `possibles` version, etc) and verified that the result is as expected.
2019-06-26 02:29:25 -07:00
yosifkit
04e67dc6bb
Merge pull request #850 from petk/patch-php-7.4-alpha
Remove the Alpine argon2 library fix
2019-06-25 21:33:41 -07:00
Tianon Gravi
820403dc96 Also remove "update.sh" bits for ARGON2 hack removal 2019-06-25 15:05:03 -07:00
Peter Kokot
894ee591c5 Remove the Alpine argon2 library fix
The fix has been patched upstream in Alpine and upcoming
PHP 7.4.0alpha2.
2019-06-25 15:04:07 -07:00
Tianon Gravi
2e2df0625b
Merge pull request #843 from J0WI/curl
Use already available curl and consistent code style
2019-06-25 15:00:00 -07:00
Tianon Gravi
250c2d872d Add "set -u" and more consistency 2019-06-24 14:55:17 -07:00
J0WI
82d590a8c7 Use already available curl and consistent code style 2019-06-24 12:55:09 -07:00
Tianon Gravi
c0f68b2602
Merge pull request #845 from J0WI/alpine10
Add Alpine 3.10
2019-06-24 12:53:47 -07:00
J0WI
27cfb7191f Update default to Alpine 3.10 2019-06-21 23:22:16 +02:00
J0WI
3802051cc9 Add Alpine 3.10 2019-06-20 15:20:27 +02:00
Tianon Gravi
9687d42a62
Merge pull request #842 from infosiftr/drop-jessie
Drop alpine 3.8 and jessie builds;
2019-06-14 16:53:48 -07:00
Joe Ferguson
3a3efd8f02 Drop alpine 3.8 and jessie builds; these were only kept around for users to transition to stretch or 3.9 (see https://github.com/docker-library/php/issues/504) 2019-06-14 16:41:39 -07:00
yosifkit
191ca54f86
Merge pull request #840 from infosiftr/7.4-rc
Add 7.4.0alpha1
2019-06-14 16:10:33 -07:00
Joe Ferguson
a9f19e9df5 Apply minor changes to non 7.4 versions to make deleting lines easier for 7.4 2019-06-14 14:04:15 -07:00
Joe Ferguson
d92a953b08 Fix build issues on 7.4.0-alpha1 2019-06-14 14:02:52 -07:00
Tianon Gravi
3822c170a2 Update generated README
Especially to link to the new FAQ entry (https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what)
2019-06-13 16:21:45 -07:00
Tianon Gravi
3e9d32bb97 Add 7.4.0alpha1 2019-06-13 16:21:11 -07:00
yosifkit
10c1eeee03
Merge pull request #837 from magikid/master
Sets PHP error level for getting extension dir
2019-06-07 15:28:52 -07:00
Tianon Gravi
a7e2de0e8f Send PHP errors/warnings to stderr in our scripts 2019-06-07 14:00:03 -07:00
Chris Jones
54c2790f09
Sets PHP error level for getting extension dir
If an uncaught exception is thrown during parsing of the php.ini file, `$extDir` will contain a combination of the exception and the path.  This script shouldn't care about error messages though as long as it gets the path.  This updates the script so that php won't emit any error messages.
2019-06-06 14:10:55 -04:00
Docker Library Bot
fa29b56ad4 Update to 7.2.19 2019-05-30 18:46:11 +00:00
Docker Library Bot
68f7e2d97a Update to 7.1.30 2019-05-30 18:46:11 +00:00
Docker Library Bot
8203d502a1 Update to 7.3.6 2019-05-30 12:46:12 +00:00
Docker Library Bot
e63194a000 Update to 7.1.29 2019-05-03 06:46:11 +00:00
Docker Library Bot
d9352e08aa Update to 7.2.18 2019-05-02 12:46:10 +00:00
Docker Library Bot
85b2af6354 Update to 7.3.5 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
Tianon Gravi
b248f8fe4c
Merge pull request #816 from lcobucci/define-stopsignal-for-fpm
Perform graceful stops on PHP-FPM
2019-04-23 14:30:24 -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