Docker Alpine PHP images
Docker images built on top of the official PHP images with the addition of some common and useful extensions, installed with mlocati/alpine-php-extension-installer. You can find these images on the Docker Hub (and if you're reading this file, you're probably already there).
An automated build is set up, so they should be always up-to-date with the Dockerfiles in the GitHub repository. Also, every time an official PHP image is updated, a rebuild is triggered, so that you will always find the latest security patches installed in these images.
latest(8.4/Dockerfile)7.4(7.4/Dockerfile)8.0(8.0/Dockerfile)8.1(8.1/Dockerfile)8.2(8.2/Dockerfile)8.3(8.3/Dockerfile)
As you might have guessed, all tags are built on top of the corresponding tag of the official image. Not all tags are supported in order to easen manteinance.
The following modules and extensions have been enabled, in addition to those you can already find in the official PHP image:
bcmathbz2calendarexificonvintlpcntlapcugdiconvimagemagickldapmbstringmemcachedmysqlipdo_mysqlpdo_pgsqlpgsqlredissoapxslZend OPcachezipsocketsswoole
You will probably not need all this stuff. Even if having some extra extensions loaded ain't a big issue in most cases, you will very likely want to checkout this repository, remove unwanted extensions from the Dockerfile, and build your own image — for sometimes removing is easier than adding. 😉
Composer is installed globally in all images. Please, refer to their documentation for usage hints.
If you find an issue, or have a special wish not yet fulfilled, please open an issue on GitHub providing as many details as you can (the more you are specific about your problem, the easier it is for us to fix it).
Pull requests are welcome, too! 😁 Please, run make build and make test before attempting a pull request. Also, it would be nice if you could stick to the best practices for writing Dockerfiles.
- app
- worker
- scheduler
- horizon
- reverb
Docker PHP Images is released under the MIT license.