Commit Graph

50 Commits

Author SHA1 Message Date
Joe Ferguson
a940d67380 Drop .so from "extension=" in docker-php-ext-enable generated ini files 2020-10-23 12:34:00 -07:00
Docker Library Bot
4c91c82a42 Update 7.3 to 7.3.23 2020-10-01 15:33:48 +00:00
Docker Library Bot
d6838d8e45 Update 7.3 to 7.3.22 2020-09-03 12:46:17 +00:00
Tianon Gravi
165f8ca09c Add initial jq-based templating engine 2020-08-28 15:17:53 -07:00
Docker Library Bot
098e442542 Update to 7.3.21 2020-08-06 12:46:15 +00:00
Docker Library Bot
a7a32c7483 Update to 7.3.20 2020-07-09 17:52:38 +00:00
Tianon Gravi
1daa5daf97 Properly pin all buster dists in stretch-based images 2020-06-22 11:00:40 -07:00
Docker Library Bot
424dbd51d6 Update to 7.3.19 2020-06-11 12:46:12 +00:00
Joe Ferguson
a041c4250b Add ini-name to ext-install to pass along to ext-enable
Support an absolute path for --ini-name
2020-06-02 10:41:14 -07:00
Docker Library Bot
a3cf31c902 Update to 7.3.18 2020-05-14 12:46:13 +00:00
Tianon Gravi
b3532e478a Update upstream download URLs
These are the URLs listed on https://www.php.net/downloads (and the URLs Homebrew is using), so they seem more appropriate/correct than these older URLs we've been using.
2020-05-05 13:28:02 -07:00
Tianon Gravi
1cc409c705 Apply typo fixes 2020-04-27 11:51:58 -07:00
Tianon Gravi
7ccfc9272c Remove "--hash-style=both"
It turns out that --hash-style=gnu is considered better than either of --hash-style=both or --hash-style=sysv, assuming your environment/platform supports it.

On amd64 with both Debian's and Alpine's linkers, --hash-style=gnu is the default.

This is especially relevant on MIPS (mips64le), where "ld: .gnu.hash is incompatible with the MIPS ABI" (so the linker sanely defaults to --hash-style=sysv there, as it should).
2020-04-16 20:49:46 -07:00
Docker Library Bot
d66997097a Update to 7.3.17 2020-04-16 12:46:13 +00:00
Docker Library Bot
33b1561787 Update to 7.3.16 2020-03-19 15:09:57 +00:00
Docker Library Bot
a80762e229 Update to 7.3.15 2020-02-20 12:18:25 +00:00
Docker Library Bot
affbdaf138 Update to 7.3.14 2020-01-23 13:46:14 +00:00
Docker Library Bot
bb80b576dd Update to 7.3.13 2019-12-18 13:46:13 +00:00
Joe Ferguson
9bcb75e9db Prevent "silent" failures by having docker-php-ext-configure error on unknown flags so users have to fix them
"configure: WARNING: unrecognized options" just gets lost in all the configure output
2019-12-03 16:32:01 -08:00
Tianon Gravi
49d861431a Swap "WINCH" for "SIGWINCH" (which fixes containerd's ability to use this value) 2019-11-28 07:42:43 -08:00
Docker Library Bot
26b872c3bc Update to 7.3.12 2019-11-21 13:46:18 +00:00
Docker Library Bot
7af4c6ecfb Update to 7.3.11 2019-10-24 12:46:17 +00:00
Tianon Gravi
88a8a1e14a Add comment to remind us why we added largefile support 2019-10-21 10:36:14 -07:00
Delfer
168caf5849 Enabled large file support (affects 32bit systems)
Build flags added: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
According to https://www.php.net/manual/en/intro.filesystem.php
2019-10-21 10:33:20 -07:00
Ivan Kurnosov
3a546766fd Always build with external sqlite 2019-10-02 16:05:35 -07:00
Tianon Gravi
29a47a90c8 Update to 7.3.10 2019-09-26 05:28:44 -07:00
Docker Library Bot
5992cb02fa Update to 7.3.9 2019-08-29 18:54:02 +00:00
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
135204c0f4 Update to 7.3.8 2019-08-01 12:46:36 +00:00
Docker Library Bot
30447e3751 Update to 7.3.7 2019-07-04 12:46:24 +00: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
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
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
Tianon Gravi
a7e2de0e8f Send PHP errors/warnings to stderr in our scripts 2019-06-07 14:00:03 -07:00
Docker Library Bot
8203d502a1 Update to 7.3.6 2019-05-30 12:46:12 +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
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
a5c895da27 Update to 7.3.4 2019-04-04 22:16:22 +00:00
Docker Library Bot
de645c824f Update to 7.3.4 2019-04-04 12:51:00 +00:00
Docker Library Bot
bb16de8a71 Update to 7.3.3 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
3c64c61733 Update to 7.3.2 2019-02-07 13:51:14 +00:00
Tianon Gravi
ea377551f7 Adjust "/var/www/html" permissions consistently across variants
The issue speaks for itself:

```console
$ docker run --rm php:apache ls -ld /var/www/html
drwxrwxrwx 2 www-data www-data 4096 Jan 22 21:56 /var/www/html

$ docker run --rm php:fpm ls -ld /var/www/html
drwxr-xr-x 2 root root 4096 Jan 22 22:10 /var/www/html
```
2019-01-31 14:45:15 -08:00
Docker Library Bot
1eb2c0ab51 Update to 7.3.1 2019-01-10 13:46:08 +00:00
Tianon Gravi
26ab6801ff Minor adjustment so it doesn't apply to older 7.x releases 2018-12-31 15:53:21 -08:00
bashkarev
f171ee0424 Increase log limit 2018-12-31 15:53:16 -08:00
Tianon Gravi
a280ab8e87 Update to 7.3.0 (GA) 2018-12-06 12:26:43 -08:00