Each Dockerfile is optimized for minimal layers and tailored PHP configurations suitable for CI/CD and production environments.
- Base:
debian:wheezy
- Installed Packages:
php5
,php5-cli
,php5-mysql
,php5-curl
,php5-gd
,php5-mcrypt
,php5-mbstring
- Utilities:
curl
,tzdata
,ca-certificates
,supervisor
,busybox
,bash
- Features:
- Supervisor setup
- Custom PHP config via
/conf/php/
- Clean apt cache after installation
- CPU Platform Support:
linux/amd64
linux/arm64
- PHP Extensions Installed:
- bcmath, calendar, curl, dom, exif, fileinfo, filter, ftp, gd, gethostbyaddr, iconv, imap, intl, json, mbstring, mcrypt, mysqlnd, openssl, pcre, PDO MySQL, pdo_pgsql, session, sockets, soap, sodium, spl, standard, tokenizer, xml, zip, zlib
- Base:
debian:jessie
- Installed Packages:
php5.6
,php5.6-cli
,php5.6-mysql
,php5.6-curl
,php5.6-gd
,php5.6-mcrypt
,php5.6-mbstring
,composer
- Tools:
curl
,git
,bash
,tzdata
,busybox
,supervisor
- Features:
- Composer installation via
install.sh
- Custom Supervisor config and clean layers
- Composer installation via
- CPU Platform Support:
linux/amd64
linux/arm64
- PHP Extensions Installed:
- bcmath, calendar, dom, exif, fileinfo, filter, ftp, gd, gethostbyaddr, iconv, imap, intl, json, mbstring, mcrypt, mysqlnd, openssl, pcre, PDO MySQL, PDO PgSQL, session, sockets, soap, sodium, spl, standard, tokenizer, xml, zip, zlib
- Base:
debian:bullseye
- Installed Packages:
php8.2
,php8.2-cli
,php8.2-common
,php8.2-mysql
,php8.2-curl
,php8.2-gd
,php8.2-mbstring
,php8.2-xml
,php8.2-bcmath
,php8.2-intl
,php8.2-soap
- Utilities:
composer
,curl
,git
,bash
,tzdata
,busybox
,supervisor
- Features:
- Advanced PHP configuration
- Multi-layer optimization
- Supervisor service control
- CPU Platform Support:
linux/amd64
linux/arm64
- PHP Extensions Installed:
- bcmath, calendar, dom, exif, fileinfo, filter, ftp, gd, gethostbyaddr, iconv, imap, intl, json, mbstring, mcrypt, mysqlnd, openssl, pcre, PDO MySQL, PDO PgSQL, session, sockets, soap, sodium, spl, standard, tokenizer, xml, zip, zlib
- New Features:
json_validate
andreadonly classes
- Base:
debian:bullseye
- Installed Packages:
- Same as PHP 8.2 but updated for
php8.3
- Same as PHP 8.2 but updated for
- Features:
- Support for new PHP 8.3 features like
json_validate
andreadonly classes
- Clean build stages and reusable scripts
- Support for new PHP 8.3 features like
- CPU Platform Support:
linux/amd64
linux/arm64
- PHP Extensions Installed:
- bcmath, calendar, dom, exif, fileinfo, filter, ftp, gd, gethostbyaddr, iconv, imap, intl, json, mbstring, pdo_mysql, PDO PgSQL, session, sockets, soap, sodium, spl, standard, tokenizer, xml, zip, zlib
- New Features:
json_validate
andreadonly classes
To build and run any version:
docker build -f Dockerfile.8.3 -t cicd-php:8.3 .
docker run --rm -it cicd-php:8.3 php -v
The timeline above shows the significant updates and contributions to this project over time. For more detailed information, please refer to the GitHub contributors.
Whether you’re fixing bugs, improving Docker efficiency, or adding support for more PHP versions — we’d love your contributions! You can fork this repo, create a pull request, or start a discussion in Issues.
Feel free to reach out via YiiMan.ir if you have any questions, ideas, or just want to say hi.