Skip to content

Commit

Permalink
Workaround, install imagick PECL from dev-master instead of latest 2.…
Browse files Browse the repository at this point in the history
  • Loading branch information
baschny committed Apr 15, 2024
1 parent 192d55f commit aa42310
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ RUN <<EOT bash
"gd"
"gettext"
"igbinary"
"imagick"
"intl"
"mcrypt"
"mysqli"
Expand All @@ -58,6 +57,12 @@ RUN <<EOT bash
"yaml"
"zip"
)
if [[ "$PHP_MINOR_VERSION" == "8.3" ]]; then
# Workaround, see https://github.com/mlocati/docker-php-extension-installer/pull/811
PHP_EXTENSIONS+=("imagick/imagick@master")
else
PHP_EXTENSIONS+=("imagick")
fi
install-php-extensions \${PHP_EXTENSIONS[@]}
EOT

Expand Down

0 comments on commit aa42310

Please sign in to comment.