PHP 7.2 FPM
All-purpose PHP-FPM 7.2 Docker image. Find it on Dockerhub.
$ docker pull winternight/php7-fpm:7.2
This is a docker image for an all-purpose PHP-FPM (PHP Version 7.2) container. It is based on the
7.2-alpine tag of the official PHP Docker image. Patch version upgrades are thus done automatically on build (e.g.
7.0.12) but for minor version upgrades (e.g.
7.3.x), a new Dockerfile should be created and tagged appropriately.
New and Removed Features
There are some new features and deprecated parts in PHP 7.2 that made changes to the Dockerfile necessary:
mcrypthas been deprecated in 7.1 and removed in 7.2 in favor of OpenSSL
The installed extensions are enough for Laravel 5 projects as long as the project is using MySQL. If you need other database drivers/extensions, please fork this image.
This is the full list of preinstalled PHP extensions in this image:
In order to build this image yourself, simply run the following command:
$ docker build -t winternight/php7-fpm:7.2 .