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.6-cli-trixie
Dockerfile
Extend an image.
FROM ghcr.io/toshy/php:8.6-fpm-trixie
Compose
Use as a compose service.
services:
php:
image: ghcr.io/toshy/php:8.6-fpm-trixie
Flavors, versions and OS
ghcr.io/toshy/php:<version>-<flavor>-<os>(-<target>)
- Contains the following PHP versions:
8.2,8.3,8.4,8.5,8.6. - Contains the following flavors:
cli,fpm,apache,zts. - Contains the following OS:
trixie(deprecated:bookworm). - Contains the following targets:
base,ffmpeg,otel,otel-ffmpeg,otel-grpc,otel-grpc-ffmpeg.
Question
- The
8.6version is the default version (also tagged aslatest). - The
basetarget is the default image and does not have atargetsuffix.