Skip to content

Commit

Permalink
Add imagick extension to PHP images
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Jun 27, 2024
1 parent dd98368 commit 13af2fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ENV PHP_INSTALL_VERSION=81
RUN sudo -s <<EOF
apk --no-cache add libzip \
php81 php81-{curl,fileinfo,iconv,mbstring,opcache,openssl,phar,session,zip} \
php81-pecl-{apcu,redis,uploadprogress,xdebug}
php81-pecl-{apcu,imagick,redis,uploadprogress,xdebug}
ln -sfn /usr/bin/php81 /usr/bin/php
EOF

Expand All @@ -92,7 +92,7 @@ ENV PHP_INSTALL_VERSION=82
RUN sudo -s <<EOF
apk --no-cache add libcrypto3 libssl3 libzip \
php82 php82-{curl,fileinfo,iconv,mbstring,opcache,openssl,phar,session,zip} \
php82-pecl-{apcu,redis,uploadprogress,xdebug}
php82-pecl-{apcu,imagick,redis,uploadprogress,xdebug}
ln -sfn /usr/bin/php82 /usr/bin/php
EOF

Expand All @@ -113,7 +113,7 @@ RUN sudo -s <<EOF
apk update
apk --no-cache add libcrypto3 libssl3 libzip \
php83 php83-{curl,fileinfo,iconv,mbstring,opcache,openssl,phar,session,zip} \
php83-pecl-{apcu,redis,uploadprogress,xdebug}
php83-pecl-{apcu,imagick,redis,uploadprogress,xdebug}
ln -sfn /usr/bin/php83 /usr/bin/php
EOF

Expand Down

0 comments on commit 13af2fb

Please sign in to comment.