Skip to content

Commit

Permalink
imagick@master for PHP 8.3
Browse files Browse the repository at this point in the history
Install imagick@master for PHP 8.3 using mlocati/install-php-extensions
  • Loading branch information
lmakarov committed Feb 9, 2024
1 parent c761c89 commit 9e18f36
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion 8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,21 @@ RUN set -xe; \
pecl install >/dev/null </dev/null \
apcu \
gnupg \
# imagick does not install on Debian 12 / PHP 8.3
# imagick does not install on Debian 12 / PHP 8.3 via pecl (see below)
#imagick \
memcached \
redis \
ssh2 \
xdebug \
xhprof \
;\
# Install imagick@master using mlocati/docker-php-extension-installer
# https://github.com/mlocati/docker-php-extension-installer/pull/811#issuecomment-1906737373
curl -fsSL "https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions" -o /usr/local/bin/install-php-extensions; \
chmod +x /usr/local/bin/install-php-extensions; \
install-php-extensions imagick/imagick@master; \
# TODO: Use install-php-extensions across the board to install PHP extensions
\
docker-php-ext-enable \
apcu \
gnupg \
Expand Down
2 changes: 2 additions & 0 deletions 8.3/tests/php-modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ gettext
gnupg
hash
iconv
imagick
imap
intl
json
Expand Down Expand Up @@ -88,6 +89,7 @@ gettext
gnupg
hash
iconv
imagick
imap
intl
json
Expand Down

0 comments on commit 9e18f36

Please sign in to comment.