This repository contains a set of developer-friendly, general purpose PHP images for Docker.
- Based on the work of TheCodingMachine ❤️.
- You can enable or disable the extensions using environment variables.
- You can also modify the
php.ini settings using environment variables.
- 2 types available:
slim (no extensions preloaded) or fat (most common PHP extensions are built-in)
- 3 variants available:
CLI, apache and fpm
- Fat images are bundled with Supercronic which is a Cron compatible task runner. Cron jobs can be configured using environment variables
- Fat images come with Composer installed
- All variants can be installed with or without NodeJS (if you need to build your static assets).
- Everything is done to limit file permission issues that often arise when using Docker. The image is actively tested on Linux, Windows and MacOS.
- Built upon Ubuntu 22.04 LTS.
- All images are available for the x86_64 and ARM64 architecture.