Minimal PHP Docker images based on Alpine. Contains tags for development environments and adapted for various frameworks like Symfony and Wordpress.
Read about Documentation and see some examples here
docker run -d --name dev -p 9000:9000 -p 2323:22 -v $PWD:/app jorge07/alpine-php:7.3-dev
SSH is only for IDE integration to use container as remote interpreter
Dev images extend the standard ones and add some tools for development and CI like, composer, xdebug, etc...
General purpose | Symfony | Wordpress |
---|---|---|
7.3-dev, 7.2-front | ||
7.2-dev, 7.2-front | 7.2-dev-sf, 7.2-front-sf | 7.2-dev-wp |
7.1-dev, 7.1-front | 7.1-dev-sf, 7.1-front-sf | 7.1-dev-wp |
5.6-dev | 5.6-dev-sf | 5.6-dev-wp |
Tag | Parent | Content | Image Layers |
---|---|---|---|
7.1 | alpine | tini, php7.1-cli & fpm | |
7.1-dev | 7.1 | + SSH server, xdebug, ant, composer | |
7-dev-sf | 7.1-dev | + Symfony aliases | |
7.1-front | 7.1-dev | + node6 & npm3 & yarn | |
7.2 | alpine | tini, php7.2-cli & fpm | |
7.2-dev | 7.2 | + SSH server, xdebug, composer | |
7.2-dev-sf | 7.2-dev | + Symfony aliases | |
7.2-front | 7.2-dev | + node6 & npm3 & yarn | |
5.6 | alpine | tini, php5.6-cli & fpm | |
5.6-wp | 5.6 | + upload-volume | |
5.6-dev | 5.6 | + SSH server, xdebug, ant, composer | |
5.6-dev-sf | 5.6-dev | + Symfony aliases | |
5.6-dev-wp | 5.6-dev | + wp-cli, wp-autocompletion |