Commit Graph

46 Commits

Author SHA1 Message Date
Tianon Gravi
2577f1147b Add Argon2 password hashing
See https://wiki.php.net/rfc/argon2_password_hash

See also a91992745b
2017-11-14 16:36:57 -08:00
Joe Ferguson
662067f733 Hide the slim from the folder; reflect order preference from generate to update and travis 2017-10-12 06:53:45 -07:00
Joe Ferguson
0bb4068bd6 Restructure organization so to support simultaneous base distro releases
- this will allow us release to `jessie` and `stretch` variants at the same time so that users have a time to transition from one to the other.
2017-10-12 06:53:45 -07:00
Tianon Gravi
0e3468fe7f Update Alpine 3.6+ to use "libressl" instead of "openssl" 2017-09-22 14:55:27 -07:00
Tianon Gravi
ddc7084c8a Add 7.2.0alpha3 2017-07-10 12:05:50 -07:00
Tianon Gravi
a403050c00 Parameterize Debian Suite 2017-06-09 14:01:24 -07:00
Tianon Gravi
014a5a69e6 Parameterize Alpine versions and add more links to update.sh 2017-06-09 13:35:10 -07:00
Tianon Gravi
95cb6e2b16 Add 7.2 PGP fingerprints and fix "rc" filter expression 2017-06-09 12:47:54 -07:00
OKUMURA Takahiro
cb15e39e3c
Keep BOTH of gpg keys 2017-01-20 12:42:09 +09:00
OKUMURA Takahiro
7951e3701f
Change GPGKEY for PHP7.1 2017-01-20 05:10:37 +09:00
Tianon Gravi
703ba52e0c Add simple initial entrypoint for supporting "docker run php --flags" 2016-12-15 10:36:09 -08:00
Tianon Gravi
ecde4f3843 Add PGP verification back to the RCs (by scanning to see if the file exists) 2016-10-17 10:31:00 -07:00
Tianon Gravi
23533b7185 Use the appropriate APIs to gather information about releases _and_ pre-releases, and verify as much information about the downloads as is available 2016-10-17 09:09:36 -07:00
Tianon Gravi
0c5a8fead1 Adjust "update.sh" whitespace and remove unused section (old copy-pasta) 2016-10-14 15:11:54 -07:00
Tianon Gravi
ce3d81c7ee Add PHP 7.1.0RC1 2016-09-06 12:31:18 -07:00
Tianon Gravi
e99aaef472 Add some useful comments to update.sh for gpgKeys "provenance" 2016-09-06 12:24:23 -07:00
Tianon Gravi
9c425b7fb5 Remove 5.5 gpgKeys from update.sh 2016-09-06 12:17:36 -07:00
Tianon Gravi
2f96a00aaa Use "https" for communications with "php.net" where possible 2016-08-22 15:47:04 -07:00
Tianon Gravi
86a4f8d1cf Simplify silly syntax 2016-08-11 16:18:33 -07:00
Tianon Gravi
e36077f85c Update generated Dockerfiles to note the source of their generated contents 2016-08-01 09:55:39 -07:00
yosifkit
1a4763005a Remove extracted php src (#256)
* Remove php src the right way for lightweight containers.

* Adapt docker-php-ext-* scripts to check exts against /available-exts generated file.

* Improve docker-php-source script

 - swap spaces to tabs to match
 - use gnu tar for `--strip-components`
 - cache known extension list in `/usr/src/`
 - remove extra output

* Changes per tianon's comments
2016-07-12 17:12:43 -07:00
Tianon Gravi
3b314af891 Add "travisEnv" bits to update.sh 2016-03-18 13:26:18 -07:00
Tianon Gravi
3bf5b82235 Convert all Dockerfiles to be template-based, and resync a few minor bits of Alpine and Debian (libedit in both, no recode in either, POSIX shell versions of docker-php-ext-* scripts for all) 2016-03-18 10:57:31 -07:00
Mikk Tendermann
9288cfa7d4 add zts support 2016-01-06 20:57:29 +02:00
Tianon Gravi
f51f3a9522 Modify update.sh to use the JSON version of the releases endpoint for more flexibility (including extracting the exact sha256 of the release file) 2015-12-08 16:46:18 -08:00
Tianon Gravi
70828d6fc4 More minor readability cleanup 2015-12-08 16:10:11 -08:00
Tianon Gravi
ae50f7ac60 Perform more simple housecleaning 2015-12-08 16:01:17 -08: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
Tianon Gravi
fc5346a7e0 Fix 5.5 key (https://github.com/docker-library/php/pull/124#issuecomment-128795274) 2015-08-07 12:00:05 -07:00
Tianon Gravi
0e983d18f2 Swap update.sh to still generate for unknown versions and bump to 7.0.0beta1
Also, update generate-stackbrew-library.sh appropriately.
2015-07-08 09:40:22 -07:00
Marcelo Andrade
11f5f37233 Add php-7.0.0alpha2 (Issue #108)
Adding 7.0 to travis

Fixes for the reviewed code

Fixes to have the directory as 7.0

Change version on travis

Remove GPG from Dockerfile on 7.0
2015-07-08 09:30:27 -07: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
Joe Ferguson
1dcb6d1764 More resilient gpg getting 2015-04-23 13:54:03 -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
80f855114c Add FPM variant 2014-11-12 17:37:22 -07: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
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
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
Tianon Gravi
7819c242fd Simplify "-apache" images by using the Debian apache2 packages 2014-09-15 11:31:14 -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
Joe Ferguson
4e73501514 Missed an extraneous .gz 2014-08-25 17:47:13 -06:00
Tianon Gravi
5a117c8bef Remove duplicated "try try" in update.sh 2014-08-25 14:38:21 -06:00
Tianon Gravi
e98835b454 Match multiple keys in update.sh since we have 2+ here 2014-08-22 10:06:40 -06:00
Joe Ferguson
f9483c93a9 Add update.sh, add partial files for generating the apache Dockerfile 2014-08-20 17:08:35 -06:00