Commit Graph

82 Commits

Author SHA1 Message Date
Docker Library Bot
331e0f4b4d Update to 7.2.26 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
4bac7da6e7 Update to 7.2.25 2019-11-21 19:46:17 +00:00
Docker Library Bot
af0a051a02 Update to 7.2.24 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
05b4342c7b Update to 7.2.23 2019-09-26 08:55:08 -07:00
Docker Library Bot
3308ce8ba0 Update to 7.2.22 2019-08-30 00:48:55 +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
b909ae3f88 Update to 7.2.21 2019-08-01 12:46:37 +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
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
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
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
J0WI
3802051cc9 Add Alpine 3.10 2019-06-20 15:20:27 +02: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
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
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
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
c44aab7001 Update to 7.2.14 2019-01-10 13:46:08 +00:00
Docker Library Bot
c88c3d52f4 Update to 7.2.13 2018-12-07 00:14:01 +00:00
Tianon Gravi
c77c579341 Fix Apache "log directory" permissions for arbitrary user support
Tested successfully with both of (separately) `--user x:y --sysctl ...` and `-e APACHE_RUN_USER=x -e APACHE_RUN_GROUP=y` (and without any parameters, of course).
2018-11-26 16:50:37 -08:00
yosifkit
67efd89c36
Merge pull request #747 from infosiftr/gpg-batch
Update "gpg" invocations to use "--batch"
2018-11-14 14:46:24 -08:00
Tianon Gravi
b99209cc07 Update "gpg" invocations to use "--batch"
See https://bugs.debian.org/913614
2018-11-14 12:44:19 -08:00
Tianon Gravi
e6a51689ce Adjust permissions on Apache directories for running as an arbitrary user 2018-11-12 15:51:08 -08:00
Christian Daguerre
d5bdcd6f8c
fix hardcoded ini dir 2018-11-09 10:21:18 +01:00
Docker Library Bot
985de7a6d4 Update to 7.2.12 2018-11-08 13:46:12 +00:00
Joe Ferguson
e6959cfb2e Drop old versions of alpine to decrease lag-time between release of PHP and rebuild of the images 2018-10-19 14:39:35 -07:00
Docker Library Bot
f363b9f8a0 Update to 7.2.11 2018-10-11 18:52:35 +00:00
Docker Library Bot
d97098c8c6 Update to 7.2.10 2018-09-13 12:46:16 +00:00
Tianon Gravi
88189f0168 Ship PHP's example "php.ini-production" and "php.ini-development" files in "$PHP_INI_DIR" 2018-08-27 15:26:42 -07:00
Docker Library Bot
e92dfe4847 Update to 7.2.9 2018-08-17 00:46:13 +00:00
Nick Chiu
8eda14d437 Add 7.2/alpine3.8 2018-08-15 10:29:09 -07:00
Tianon Gravi
c53a180b78 Swap from "sid" to "buster" and slightly adjust the implementation to match the templating 2018-08-10 14:32:01 -07:00
Tim Düsterhus
e1a4affaa5
Install libargon2 from sid
see: https://github.com/docker-library/php/pull/677#issuecomment-408555320
see: https://travis-ci.org/docker-library/php/jobs/411259094
2018-08-05 01:35:28 +02:00