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.4-cli-bookworm
Dockerfile
Extend an image.
FROM ghcr.io/toshy/php:8.4-fpm-bookworm
Compose
Use as a compose service.
services:
php:
image: ghcr.io/toshy/php:8.4-fpm-bookworm
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. - Contains the following flavors:
cli,fpm,apache,zts - Contains the following OS:
bookworm. - Contains the following targets:
base,ffmpeg,otel.
Question
- The
8.4version is the default version (also tagged aslatest). - The
basetarget is the default image and does not have atargetsuffix.