Usage
Quickstart
All images can be pulled from ghcr.io/toshy/php.
Shell
Run a container.
docker run --rm -it ghcr.io/toshy/php:8.5-cli-trixie
Dockerfile
Extend an image.
FROM ghcr.io/toshy/php:8.5-fpm-trixie
Compose
Use as a compose service.
services:
php:
image: ghcr.io/toshy/php:8.5-fpm-trixie
Flavors, versions and OS
ghcr.io/toshy/php:<version>-<flavor>-<os>(-<target>)
- Contains the following PHP versions:
8.1,8.2,8.3,8.4,8.5. - Contains the following flavors:
cli,fpm,apache,zts - Contains the following OS:
bookworm,trixie. - Contains the following targets:
base,ffmpeg,otel.
Question
- The
8.5version is the default version (also tagged aslatest). - The
basetarget is the default image and does not have atargetsuffix.