Commit Graph

122 Commits

Author SHA1 Message Date
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