This repository produces a PHP 7.2 Image with FPM, ready for production use.
It is based on the official PHP 7.2 Docker Image and runs Debian.
It will work with OpenShift Online, Sloppy.io or any other Docker hosts.
FPM is exposed on Port 9000.
For production use, without XDebug:
docker run -d -p 9000:9000 -it --name=php quay.io/vesica/php72-fpm:latest
or with XDebug:
docker run -d -p 9000:9000 -it --name=php quay.io/vesica/php72-fpm:dev
docker build -f Dockerfile.dev . -t php72-fpm:dev
docker run -d -p 9000:9000 -it --name=php php72-fpm:dev
docker build -f Dockerfile . -t php72-fpm
docker run -d -p 9000:9000 -it --name=php php72-fpm
Run sh build.sh
to update quay.io/vesica/php72-fpm:latest and vesica/php72-fpm:latest (https://hub.docker.com/r/vesica/php72/) as well as the version specified in that file.
Running build.sh
will also create quay.io/vesica/php72-fpm:dev and vesica/php72-fpm:dev on hub.docker.com which is basically the same image with XDebug.
Coming soon.
The following modules / extensions / PECLs are enabled on this container (excluding XDebug which is only available in the :dev tag):
- calendar
- iconv
- bcmath
- xml
- gd
- mbstring
- pdo
- tidy
- gettext
- intl
- pdo
- pdo_mysql
- mysqli
- simplexml
- tokenizer
- xml
- xmlwriter
- zip
- exif
- opcache
- Redis
- GeoIP
- Memcached
- TimezoneDB
- APCu
Raise a pull request or an issue.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.