Repository of https://hub.docker.com/r/jorge07/alpine-php
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 2323:22 -v $PWD:/app jorge07/alpine-php:8.1-dev
To make xdebug config easier for all environments there's a custom ENVVAR you can define:
XDEBUG_CLIENT_HOST
. Example: XDEBUG_CLIENT_HOST=docker.for.mac for OSX, XDEBUG_CLIENT_HOST=docker.for.windows for Windows users and Linux users and Remote interpreters by SSH can leave it empty.
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 |
---|---|---|
8.1-dev | ||
8.0-dev | ||
7.4-dev | ||
7.3-dev | ||
7.2-dev, | 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 |
---|---|---|---|
8.1 | alpine | tini, php8.1cli & fpm | |
8.1-dev | 8.1 | + SSH server, xdebug, composer | |
8.0 | alpine | tini, php8-cli & fpm | |
8.0-dev | 8.0 | + SSH server, xdebug, composer | |
7.4 | alpine | tini, php7.4-cli & fpm | |
7.4-dev | 7.4 | + SSH server, xdebug, composer | |
7.3 | alpine | tini, php7.3-cli & fpm | |
7.3-dev | 7.3 | + SSH server, xdebug, ant, composer | |
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 | |
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 | |
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 |
Thanks goes to these wonderful people (emoji key):
Kajetan 💻 |
Luis 💻 |
Krzysztof Kowalski 💻 |
Ismael 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!