diff --git a/8.3-fpm/Dockerfile b/8.3-fpm/Dockerfile index bbfecd6..d73fe07 100644 --- a/8.3-fpm/Dockerfile +++ b/8.3-fpm/Dockerfile @@ -13,6 +13,9 @@ ARG SWOOLE_VERSION="5.1.5" # # Phalcon - https://github.com/phalcon/cphalcon ARG PHALCON_VERSION="5.8.0" +# Imagick - https://github.com/Imagick/imagick +ARG IMAGICK_COMMIT="28f27044e435a2b203e32675e942eb8de620ee58" + # Install dependencies RUN set -eux \ && apk add --no-cache \ @@ -154,10 +157,18 @@ RUN set -eux \ && docker-php-ext-install -j$(nproc) imap \ && true \ \ -# # Install imagick -# && pecl install imagick \ -# && docker-php-ext-enable imagick \ -# && true \ +# Install imagick from source (temporarily) + && mkdir -p /opt/imagick \ + && cd /opt/imagick \ + && git init \ + && git remote add origin https://github.com/Imagick/imagick.git \ + && git fetch origin ${IMAGICK_COMMIT} \ + && git checkout ${IMAGICK_COMMIT} \ + && phpize && ./configure \ + && make -j$(nproc) \ + && make -j$(nproc) install \ + && docker-php-ext-enable imagick \ + && true \ \ # Install igbinary && pecl install igbinary \ diff --git a/8.3-fpm/extensions.txt b/8.3-fpm/extensions.txt index c109893..37945be 100644 --- a/8.3-fpm/extensions.txt +++ b/8.3-fpm/extensions.txt @@ -7,6 +7,7 @@ gd gettext gmp igbinary +imagick imap intl lz4 @@ -22,6 +23,7 @@ pdo_mysql pdo_pgsql pdo_sqlsrv pgsql +phalcon psr rdkafka redis diff --git a/README.md b/README.md index e274d83..b2ea788 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ However, you can still find legacy versions like `7.4.x` or `8.0.x` on [Releases | gd | ✓ | ✓ | ✓ | | gettext | ✓ | ✓ | ✓ | | gmp | ✓ | ✓ | ✓ | -| imagick | ✓ | ✓ | ? | +| imagick | ✓ | ✓ | ✓ | | igbinary | ✓ | ✓ | ✓ | | imap | ✓ | ✓ | ✓ | | intl | ✓ | ✓ | ✓ | @@ -66,7 +66,7 @@ However, you can still find legacy versions like `7.4.x` or `8.0.x` on [Releases | pdo_pgsql | ✓ | ✓ | ✓ | | pdo_sqlsrv | ✓ (64-bit only) | ✓ (64-bit only) | ✓ (64-bit only) | | pgsql | ✓ | ✓ | ✓ | -| phalcon | ✓ | ✓ | ? | +| phalcon | ✓ | ✓ | ✓ | | psr | ✓ | ✓ | ✓ | | redis | ✓ | ✓ | ✓ | | rdkafka | ✓ | ✓ | ✓ |