From 3b17ab15496013f2645633d97210998ca1c63dfa Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 17 Sep 2024 21:04:10 +1000 Subject: [PATCH] Add imagick and gmp modules --- docker/Dockerfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6a3b1d5..716dd7d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,8 +1,11 @@ # NAME docker/php -# VERSION 8.3-fpm-pgsql +# VERSION 8.3-fpm-pgsql-image -FROM gitea.dege.au/docker/php:8.3-fpm +FROM gitea.dege.au/docker/php:8.3-fpm-pgsql -RUN apk add --no-cache postgresql-client libpq libpq-dev && \ - docker-php-ext-install -j$(nproc) pdo_pgsql && \ - apk del --no-cache libpq-dev +# Images +RUN apk add --no-cache imagemagick libheif libde265 php83-pecl-imagick \ + && ln /usr/lib/php83/modules/imagick.so /usr/local/lib/php/extensions/no-debug-non-zts-20230831/ \ + && ln /etc/php83/conf.d/imagick.ini /usr/local/etc/php/conf.d/ +RUN apk add --no-cache gmp-dev \ + && docker-php-ext-install -j$(nproc) gmp