See full documentation at: https://opensource.byjg.com/devops/docker-php
A complete and small PHP Docker image based on Alpine Linux and run on the archictectures
The Docker ByJG PHP Images has several bundled images based on PHP in different versions.
The PHP images are ready to use in:
Five different images for each PHP Version
Here a list of environment variables.
Tag | Montly builds |
---|---|
8.2-base | yes |
8.2-cli | yes |
8.2-fpm | yes |
8.2-fpm-apache | yes |
8.2-fpm-nginx | yes |
8.1-base | yes |
8.1-cli | yes |
8.1-fpm | yes |
8.1-fpm-apache | yes |
8.1-fpm-nginx | yes |
8.0-base | yes |
8.0-cli | yes |
8.0-fpm | yes |
8.0-fpm-apache | yes |
8.0-fpm-nginx | yes |
7.4-base | yes |
7.4-cli | yes |
7.4-fpm | yes |
7.4-fpm-apache | yes |
7.4-fpm-nginx | yes |
7.3-base | - |
7.3-cli | - |
7.3-fpm | - |
7.3-fpm-apache | - |
7.3-fpm-nginx | - |
7.2-base | - |
7.2-cli | - |
7.2-fpm | - |
7.2-fpm-apache | - |
7.2-fpm-nginx | - |
7.1-base | - |
7.1-cli | - |
7.1-fpm | - |
7.1-fpm-apache | - |
7.1-fpm-nginx | - |
7.0-base | - |
7.0-cli | - |
7.0-fpm | - |
7.0-fpm-apache | - |
7.0-fpm-nginx | - |
5.6-base | - |
5.6-cli | - |
5.6-fpm | - |
5.6-fpm-apache | - |
5.6-fpm-nginx | - |
Since January 2021 all tags have also the suffix YYYY.MM. e.d
Below a table with images uncompressed
PHP Version | base | cli | fpm | fpm-nginx | fpm-apache |
---|---|---|---|---|---|
8.0 | 136MB | 154MB | 145MB | 156MB | 156MB |
7.4 | 136MB | 154MB | 144MB | 156MB | 156MB |
7.3 | 104MB | 123MB | 109MB | 161MB | 161MB |
7.2 | 106MB | 124MB | 111MB | 157MB | 157MB |
7.1 | 101MB | 119MB | 105MB | 151MB | 150MB |
7.0 | 117MB | 136MB | 125MB | 170MB | 169MB |
5.6 | 103MB | 122MB | 127MB | 173MB | 173MB |
Detailed instructions can be found here.