Commit Graph

140 Commits

Author SHA1 Message Date
Tianon Gravi
e1ab9ff7bb Merge pull request #176 from ncopa/php-alpine
add php:7.0-alpine
2016-03-18 09:55:58 -07:00
Natanael Copa
647490f42c sort dependencies and remove duplicate libxml2-dev in alpine images 2016-03-17 11:38:00 +01:00
Natanael Copa
78ae437dd7 Fix gpg usage for alpine images 2016-03-17 11:38:00 +01:00
Natanael Copa
c107bad80c fix docker-php-ext-enable in alpine images 2016-03-17 11:38:00 +01:00
Natanael Copa
5acbdade05 add php:5.6-fpm-alpine 2016-03-17 11:37:59 +01:00
Natanael Copa
29b8ea733f add php:5.6-alpine 2016-03-17 11:37:59 +01:00
shin1x1
cdebaa8f31 Update to 7.0.4, 5.6.19, and 5.5.33 2016-03-04 22:04:34 +09:00
Tianon Gravi
8943e1e6a9 Fix "gpg" usage to stop relying on deprecated and insecure behavior 2016-02-29 08:38:54 -08:00
Tianon Gravi
7bd5c38db9 Update to 7.0.3, 5.6.18, and 5.5.32 2016-02-04 15:50:02 -08:00
Tianon Gravi
5e9ec6fb46 Run update.sh for new zts variant 2016-01-28 14:17:44 -08:00
yosifkit
bdfd0fc1d1 Merge pull request #171 from mikk150/master
add zts support
2016-01-27 10:50:57 -08:00
Tianon Gravi
e1292bb6ec Refactor FPM support to use upstream's config file directly
PHP 7 changed their config to use "include", which is a clever way to support "php-fpm.d" for further configuration.  This adapts our FPM config to follow suit.
2016-01-22 12:59:21 -08:00
Tianon Gravi
85447ff6a5 Run update.sh 2016-01-19 17:31:29 -08:00
Joe Ferguson
7122ec89a7 update 5.6.17 2016-01-07 10:21:54 -08:00
Tianon Gravi
f181586329 Run update.sh 2016-01-06 16:31:49 -08:00
Mikk Tendermann
9288cfa7d4 add zts support 2016-01-06 20:57:29 +02:00
Tianon Gravi
a9f7fed15b Run update.sh 2015-12-09 11:11:53 -08:00
Tianon Gravi
9f0c470f25 Update to use "curl -f" and to verify SHA256 directly in addition to GPG 2015-12-08 16:55:23 -08:00
Tianon Gravi
12d7a6644a Update to 5.6.16 2015-11-30 09:28:39 -08:00
keltgourig
6e600f59a4 Update to 5.6.15 2015-10-30 12:13:58 +01:00
Henrique Moody
fec7f537f0 --with-pcre is not a valid configure option
PCRE is enabled by default and can only be disabled with the option
`--without-pcre-regex` (after 5.3).

Alternatively, an external PCRE library can be used by passing in the
`--with-pcre-regex=DIR` but it's unnecessary and it's not the default
behavior.
2015-10-09 17:01:41 -03:00
Tianon Gravi
c05f8260ab Update to 5.6.14 2015-10-02 09:26:55 -07:00
Eric Andrew Lewis
766e3c0043 Ensure PHP-FPM worker stdout and stderr are sent to the main error log. 2015-10-01 16:56:42 -04:00
Simon Herter
cf1e938f37 Update to 5.6.13, 5.5.29 and 5.4.45 2015-09-05 16:01:04 +02:00
Tianon Gravi
789a45b03f Merge pull request #123 from abcdmitry/master
Full path for loading zend extensions
2015-08-07 14:07:30 -07:00
Tianon Gravi
305067f94c Add back the 5.5 keys that are officially listed, and sort all the key lists 2015-08-07 12:01:25 -07:00
Sebastiaan van Stijn
a8ec57f206 Update PHP 5.6.12, 5.5.28 and 5.4.44
Update announcement:
http://php.net/archive/2015.php#id2015-08-06-1

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-08-07 15:45:39 +02:00
Dmitry Lukashin
a3508a6653 Get rid of unneeded variable 2015-08-07 03:48:56 +03:00
Dmitry Lukashin
878e6efc37 Full path for loading zend extensions 2015-08-07 03:05:52 +03:00
Tianon Gravi
8dc762e718 Run update.sh 2015-08-04 16:04:42 -07:00
Sebastiaan van Stijn
32887c1de3 Update to 5.4.43, 5.5.27, and 5.6.11
As announced here;

PHP 5.4.43 http://php.net/archive/2015.php#id2015-07-09-1
PHP 5.5.27 http://php.net/archive/2015.php#id2015-07-10-2
PHP 5.6.11 http://php.net/archive/2015.php#id2015-07-10-3

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-07-10 15:31:35 +02:00
Tianon Gravi
a413eb0123 Switch from "bz2" to "xz" for 5.5 and 5.6 (several megabytes smaller download) 2015-06-30 10:06:18 -07:00
Tianon Gravi
ae130b2f84 Update to 5.4.42, 5.5.26, and 5.6.10 2015-06-12 10:35:07 -07:00
Joe Ferguson
58559e7dec Run update.sh for docker-php-ext-install fixes 2015-05-28 13:27:42 -07:00
Joe Ferguson
ec8e44b3b8 Add g++ 2015-05-19 15:48:24 -07:00
Lee Packham
2fbee27c94 Update to PHP 5.4.41, 5.5.25 and 5.6.9
As per latest security updates from php.net
2015-05-15 10:35:42 +01:00
Mathieu Rochette
6c517d12b4 Tells FPM not to clear the environment in workers
Allows php scripts executed with FPM to access env vars such as env vars
from linked containers

see #74
2015-04-27 23:41:04 +02:00
Joe Ferguson
1dcb6d1764 More resilient gpg getting 2015-04-23 13:54:03 -07:00
Tianon Gravi
f6aa601699 Update to 5.6.8, 5.5.24, 5.4.40 2015-04-21 11:01:24 -06:00
Hong Xu
453a9da962 Preinstall more extensions which cannot be installed later
Extensions added: pcre, recode, sqlite3
2015-04-17 19:48:36 -07:00
Hong Xu
13112ed409 Remove file from buildDeps
file is still needed for docker-php-install-ext.
2015-04-13 15:27:50 -07:00
Hong Xu
e8cc3c3c29 Install file and re2c as required by docker-php-ext-install
Fix #86
2015-04-10 19:54:42 -07:00
J Irving
08bf31dfd4 Prevent tar preserving file ownership 2015-04-03 14:59:47 -07:00
Tianon Gravi
c909cc49a5 Run update.sh 2015-04-02 10:56:16 -06:00
Tianon Gravi
2c6f508385 Merge pull request #78 from JensErat/conf-enabled
Empty config and sites folders, include them (#76)
2015-04-01 16:22:10 -06:00
Tianon Gravi
0d49708c99 Use && instead of ; for consistency 2015-04-01 13:37:01 -06:00
Jens Erat
f6c40011c8 Empty config and sites folders, include them (#76) 2015-03-25 14:52:46 +01:00
Tianon Gravi
dd4503a7f0 Update to 5.4.39, 5.5.23, and 5.6.7 2015-03-20 09:31:09 -06:00
Mike Dillon
1e07e91344 Add libc-dev as an explicit phpize dependency 2015-03-05 21:47:52 -08:00
Mike Dillon
93c2ef1326 Make autoremove remove more packages
By default, apt-get autoremove won't remove packages that are recommended or
suggested by *any* installed packages, not just the packages that
auto-installed them.
2015-03-01 17:17:26 -08:00
Tianon Gravi
58775aa692 Update to 5.4.38, 5.5.22, 5.6.6 2015-02-19 16:05:40 -07:00
Mike Dillon
6383582398 Remove Indexes option from /var/www 2015-01-30 23:05:28 -08:00
Joe Ferguson
c871678cc7 Run update.sh, php 5.5 and 5.6 version bumped 2015-01-22 13:12:12 -08:00
Tianon Gravi
5d49ba5861 Switch from pgp.mit.edu to pool.sks-keyservers.net 2015-01-08 23:41:19 -07:00
Joe Ferguson
a51c16e5f9 Add a pid cleaner in case container was killed unexpectedly 2014-12-23 09:52:12 -08:00
Tianon Gravi
f972d91aac Update variants too... 2014-12-19 01:24:48 -07:00
Tianon Gravi
be46002aee Bump to 5.6.4 and 5.4.36 2014-12-19 00:38:41 -07:00
Tianon Gravi
4a5d6cfe69 Merge pull request #49 from jaredm4/master
Load opcache as a zend_extension.
2014-11-20 16:19:19 -07:00
Jared Markell
58c3fd175c Load opcache as a zend_extension. 2014-11-20 15:08:14 -08:00
Tianon Gravi
9bb0b22480 Fix php:fpm "listen" directive 2014-11-19 16:06:38 -07:00
Tianon Gravi
583557dc05 MOAAR 2014-11-14 12:34:32 -07:00
yosifkit
09fd8c55bd Merge pull request #37 from infosiftr/fpm
Add FPM variant
2014-11-14 11:43:34 -07:00
Tianon Gravi
18b5d0884c FAILURE (yeah, my bad) 2014-11-14 11:34:45 -07:00
Tianon Gravi
844ed7ce00 Update to 5.5.19 and 5.6.3 for CVEs
Fixes #45; thanks @thaJeztah
2014-11-13 17:34:23 -07:00
Tianon Gravi
80f855114c Add FPM variant 2014-11-12 17:37:22 -07:00
Tianon Gravi
b2e1b8e2a3 Add back make (which we somehow missed) 2014-11-12 09:54:38 -07:00
yosifkit
ad9b781547 Merge pull request #41 from infosiftr/keep-the-sauce
Keep the source and instead just "make clean"
2014-11-11 17:24:02 -07:00
Joe Ferguson
c06a6485d6 Make the root more obvious, fix DirectoryIndex to php first 2014-11-11 12:20:25 -08:00
Tianon Gravi
2c5880107a Add new docker-php-ext-* scripts for magic
For example, the following makes WordPress work:

```Dockerfile
RUN apt-get update && apt-get install -y libpng12-dev && rm -rf /var/lib/apt/lists/* \
	&& docker-php-ext-install gd \
	&& apt-get purge --auto-remove -y libpng12-dev

RUN docker-php-ext-install mysqli
```
2014-11-11 13:17:28 -07:00
Tianon Gravi
4d09bc45cb Keep the source and instead just "make clean" 2014-11-10 16:16:30 -07:00
Mike Dillon
98f6553f68 Add --enable-soap 2014-11-07 09:58:50 -08:00
Tianon Gravi
cf2a4bcb5b Add ca-certificates (which was in buildpack-deps) 2014-11-06 20:02:36 -07:00
Tianon Gravi
a6e6a6381d Refactor Dockerfile, switching the base from buildpack-deps over to debian directly
This results in a dramatic reduction of image size:

```console
$ docker images php
REPOSITORY          TAG                 IMAGE ID            CREATED              VIRTUAL SIZE
php                 5.4                 6b03f428509e        3 hours ago          354.3 MB
php                 5.4-apache          2bd126f2c469        2 minutes ago        394.8 MB
php                 5.5                 19a5113df69a        9 minutes ago        356.4 MB
php                 5.5-apache          6c892721307f        2 minutes ago        396.9 MB
php                 5.6                 69aead156fe7        10 minutes ago       356.8 MB
php                 5.6-apache          2d0bae628aaf        About an hour ago    397.3 MB
```

vs the old:

```console
$ docker images php
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
php                 5.4                 e760b9bd2c6c        2 days ago          736.9 MB
php                 5.4-apache          62c23e8f1704        2 days ago          811.8 MB
php                 5.5                 156d2a323bc0        2 days ago          739.8 MB
php                 5.5-apache          3014d0f81b29        2 days ago          814.7 MB
php                 5.6                 dab86418397c        2 days ago          740.2 MB
php                 5.6-apache          b3c4a0633954        2 days ago          815.1 MB
```
2014-11-06 17:34:27 -07:00
Tianon Gravi
c1fe2a2c01 Merge pull request #32 from infosiftr/remove-buildconf
Remove buildconf from our Dockerfiles since we use the release tarballs...
2014-11-03 17:18:05 -07:00
Tianon Gravi
a3dcd78179 Remove buildconf from our Dockerfiles since we use the release tarballs, which have pre-generated configure scripts 2014-11-03 17:02:20 -07:00
Joe Ferguson
87828ff10b Gzip does not exist as a flag, use zlib 2014-11-03 10:07:14 -08:00
Moghedrin
7cd19dc2a7 Update apache versions 2014-10-27 16:16:05 -06:00
Moghedrin
d21459dd50 Add additional modules to include 2014-10-24 15:33:21 -06:00
Rogerio Prado de Jesus
b8c53deb44 Bump 5.6.2 - fix #21
fix #21

Signed-off-by: Rogerio Prado de Jesus <rogeriopradoj@gmail.com>
2014-10-18 08:01:08 -03:00
Cuenot Damien
524908779e add openSSL 2014-10-10 22:54:54 +02:00
Cuenot Damien
ccf6114295 add openSSL 2014-10-10 22:54:35 +02:00
Tianon Gravi
6b0affa0c5 Remove the VOLUME definition from the apache variants, since it doesn't make sense in the general case
This is another one thanks to Jérôme...
2014-10-07 17:03:10 -06:00
Rogerio Prado de Jesus
28bebceb07 Update 5.6 version - fix #11
Signed-off-by: Rogerio Prado de Jesus <rogeriopradoj@gmail.com>
2014-10-04 03:06:21 -03:00
Tianon Gravi
7819c242fd Simplify "-apache" images by using the Debian apache2 packages 2014-09-15 11:31:14 -06:00
Matthew Gallagher
7d61fd53df Added mysql PDO support to compile flags in versions with Apache 2014-09-12 17:49:19 -04:00
Matthew Gallagher
8e361ec201 Added compile option --with-mysqli in versions with Apache 2014-09-12 01:29:12 -04:00
Peter Cowburn
e19f15271b use php.net as host, to allow mirror redirects
Prevents us2.php.net from getting all of the traffic.
2014-09-11 13:19:07 +01:00
Moghedrin
f36d64e65b Change default command to httpd 2014-09-05 15:55:10 -06:00
Joe Ferguson
3904b17616 Add CMD php -a; replace awk with magic bash 2014-09-03 11:56:55 -06:00
Joe Ferguson
6b54c7fa3f Add php 5.3, 5.4, and 5.6 fixing the update script 2014-08-29 15:02:33 -06:00