@@ -16,8 +16,9 @@ Available on [Docker Hub](https://hub.docker.com/r/behance/docker-php/).
1616- ` docker run behance/docker-php:7.0 "php" "-v" `
1717- ` docker run behance/docker-php:7.1 "php" "-v" `
1818- ` docker run behance/docker-php:7.2 "php" "-v" `
19- - ` docker run behance/docker-php:7.2 -alpine "php" "-v" `
19+ - ` docker run behance/docker-php:7.3 -alpine "php" "-v" `
2020- ` docker run behance/docker-php:7.3" "php" "-v" `
21+ - ` docker run behance/docker-php:7.4" "php" "-v" `
2122
2223Adding code to runtime, see [ here] ( https://github.com/behance/docker-php#expectations ) .
2324PHP tuning and configuration, see [ here] ( https://github.com/behance/docker-php#downstream-configuration ) .
@@ -26,9 +27,9 @@ Adding startup logic, [basic](https://github.com/behance/docker-base#startuprunt
2627
2728#### Container tag scheme: ` PHP_MAJOR.PHP_MINOR(-Major.Minor.Patch)(-variant) `
2829
29- - ` PHP_MAJOR.PHP_MINOR ` , required. Engine versions of PHP. ex. ` docker-php:7.1 `
30- - ` (Major.Minor.Patch) ` , optional. Semantically versioned container provisioning code. ex. ` docker-php:7.1-12 .4.0 ` .
31- - ` (-variant) ` , optional. Alpine variants are slim versions of the container. ex. ` docker-php:7.1 -alpine ` .
30+ - ` PHP_MAJOR.PHP_MINOR ` , required. Engine versions of PHP. ex. ` docker-php:7.4 `
31+ - ` (Major.Minor.Patch) ` , optional. Semantically versioned container provisioning code. ex. ` docker-php:7.3-13 .4.0 ` .
32+ - ` (-variant) ` , optional. Alpine variants are slim versions of the container. ex. ` docker-php:7.3 -alpine ` .
3233
3334### Includes
3435---
@@ -43,8 +44,7 @@ Adding startup logic, [basic](https://github.com/behance/docker-base#startuprunt
4344For extension customization, including enabling and disabling defaults, see [ here] ( https://github.com/behance/docker-php#downstream-configuration )
4445
4546` ^ ` - not available on ` -alpine ` variant
46- ` * ` - not available on ` 7.2 `
47- ` ** ` - not available on ` 7.3 `
47+ ` * ` - not available on ` 7.2+ `
4848` ~ ` - disabled by default
4949
5050 - apcu
@@ -63,7 +63,7 @@ For extension customization, including enabling and disabling defaults, see [her
6363 - intl
6464 - json
6565 - mbstring
66- - mcrypt * , **
66+ - mcrypt *
6767 - memcache ^
6868 - memcached
6969 - msgpack
@@ -87,7 +87,7 @@ For extension customization, including enabling and disabling defaults, see [her
8787 - sysvsem
8888 - sysvshm
8989 - tokenizer
90- - xdebug ~ ,* , **
90+ - xdebug ~ ,*
9191 - xml
9292 - xmlreader
9393 - xmlwriter
@@ -102,10 +102,10 @@ For extension customization, including enabling and disabling defaults, see [her
102102
103103Sample ` Dockerfile `
104104```
105- FROM behance/docker-php:7.1
105+ FROM behance/docker-php:7.4
106106
107107# (optional, recommended) Verify everything is in order from the parent
108- RUN goss -g /tests/php-fpm/7.1 .goss.yaml validate && /aufs_hack.sh
108+ RUN goss -g /tests/php-fpm/7.4 .goss.yaml validate && /aufs_hack.sh
109109
110110# Layer local code into runtime
111111COPY ./ /app/
@@ -208,14 +208,15 @@ PHP_FPM_LOG_BUFFERING | PHP_FPM_LOG_BUFFERING=no | yes | Experimental, PHP 7.3-o
208208
209209### Testing
210210---
211- - Requires ` docker ` and ` docker-compose `
211+ - Requires ` docker ` , ` docker-compose ` , and ` dgoss `
212+
213+ To test locally, run ` PHP_VARIANT=7.4 ./test.sh {docker engine IP} ` .
212214
213- To test locally, run ` bash -e ./test.sh {docker-machine} ` where ` docker-machine ` is the IP of the connected docker engine.
214215This will:
215- - Build all variants and engine versions.
216- - [ Goss] ( https://goss.rocks ) runs at the end of each container build, confirming package, config, and extension installation.
217- - Run each built container, check the default output from its live service.
218- - Perform a large file upload
216+ - Build a single container ` PHP_VARIANT ` (7.0, 7.1, 7.2, 7.3, 7.3-alpine, 7.4)
217+ - Leverages [ Goss] ( https://goss.rocks ) to confirm package, config, and extension installation
218+ - Validates a large file upload
219+ - Boots container with specific NewRelic configuration overrides
219220
220- These same tests get run automatically, per pull request, via Travis CI
221+ The test matrix is run automatically per pull request on Travis CI.
221222
0 commit comments