mirror of
https://github.com/ivuorinen/docker-php-with-imagick.git
synced 2026-01-26 03:24:02 +00:00
21 lines
360 B
Markdown
21 lines
360 B
Markdown
# docker-php-with-imagick
|
|
|
|
PHP 8.1 with imagick for specific purposes
|
|
|
|
## Building locally
|
|
|
|
### Setup docker buildx (run once)
|
|
|
|
```bash
|
|
docker run --privileged --rm tonistiigi/binfmt --install all
|
|
docker buildx create --use
|
|
```
|
|
|
|
### Build the image
|
|
|
|
```bash
|
|
docker buildx build --platform linux/amd64,linux/arm64 .
|
|
```
|
|
|
|
Example builds for both amd64 and arm64
|