A starting point with some common extensions for running various frameworks and applications.
- php-bcmath
- php-gd
- php-intl
- php-mcrypt
- php-opcache
- php-pdo (mysql)
- php-soap
- php-xdebug
- php-xsl
- php-zip
Used in development for building and interacting with the application with a familiar set of tools, can also be used as part of a multi-stage build docker image.
- build-tools (autoconf, automake, g++, gcc, make, nasm)
- composer (1.10.27 or 2.7.2)
- curl
- gettext-base
- git
- iproute
- mysql (client)
- nano
- nvm
- node (lts/dubnium aka v10, or none for PHP 8.3+)
- npm
- patch
- redis-cli
- rsync
- wget
- yarn (if node is installed)
- zip
| PHP version | Bullseye | Bookworm | Trixie |
|---|---|---|---|
8.2 |
x | x | |
8.3 |
x | x | |
8.4 |
x | x | |
8.5 |
x |
Build and test all Trixie images:
BUILD=trixie ./build.sh
BUILD=trixie ./test.sh
docker compose down --rmi=allBuild and test all PHP 8.5 images:
BUILD=php85 ./build.sh
BUILD=php85 ./test.sh
docker compose down --rmi=allBuild and test a single image:
BUILD=php85-fpm-trixie-console ./build.sh
BUILD=php85-fpm-trixie-console ./test.shRemove locally built images when finished:
docker image rm my127/php:8.5-fpm-trixie-console