mirror of
https://github.com/ivuorinen/docker-php-with-imagick-multi.git
synced 2026-03-12 08:59:24 +00:00
main
docker-php-with-imagick-multi
Multi-architecture Docker images for PHP 7.4 through 8.5 with Imagick and Composer pre-installed.
Available Images
| PHP Version | Tag | Pull Command |
|---|---|---|
| PHP 7.4 | php74 |
docker pull ghcr.io/ivuorinen/docker-php-with-imagick-multi:php74 |
| PHP 8.0 | php80 |
docker pull ghcr.io/ivuorinen/docker-php-with-imagick-multi:php80 |
| PHP 8.1 | php81 |
docker pull ghcr.io/ivuorinen/docker-php-with-imagick-multi:php81 |
| PHP 8.2 | php82 |
docker pull ghcr.io/ivuorinen/docker-php-with-imagick-multi:php82 |
| PHP 8.3 | php83 |
docker pull ghcr.io/ivuorinen/docker-php-with-imagick-multi:php83 |
| PHP 8.4 | php84 |
docker pull ghcr.io/ivuorinen/docker-php-with-imagick-multi:php84 |
| PHP 8.5 | php85 |
docker pull ghcr.io/ivuorinen/docker-php-with-imagick-multi:php85 |
Architectures
linux/amd64linux/arm64
Included Software
PHP Extensions
| Extension | Description |
|---|---|
| bcmath | Arbitrary precision mathematics |
| intl | Internationalization (ICU) |
| mbstring | Multibyte string handling |
| pdo | PHP Data Objects database layer |
| xml | XML parsing and manipulation |
| gd | Image processing (freetype + jpeg) |
| exif | Image metadata reading |
| pcntl | Process control |
| imagick | ImageMagick bindings (via PECL) |
System Libraries
| Library | Purpose |
|---|---|
| libicu-dev | ICU for intl extension |
| libxml2-dev | XML parsing |
| libfreetype6-dev | Font rendering (GD) |
| libjpeg62-turbo-dev | JPEG support (GD) |
| libpng-dev | PNG support (GD) |
| libonig-dev | Oniguruma regex (mbstring) |
| libmagickwand-dev | ImageMagick C API (imagick) |
Tools
- Composer (latest, installed to
/usr/local/bin/composer)
Usage
Pull an image:
docker pull ghcr.io/ivuorinen/docker-php-with-imagick-multi:php84
Run a container:
docker run --rm ghcr.io/ivuorinen/docker-php-with-imagick-multi:php84 php -v
Use as a base image in your Dockerfile:
FROM ghcr.io/ivuorinen/docker-php-with-imagick-multi:php84
COPY . /app
WORKDIR /app
RUN composer install --no-dev
Building Locally
docker build -t my-php84 ./php84/
License
See LICENSE for details.
Description
Languages
Dockerfile
89.1%
Shell
10.9%