Add imagick and gmp modules
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 38s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m33s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
Create Docker Image / Build Docker Test Image (x86_64) (push) Successful in 57s
Create Docker Image / Final Docker Test Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-09-17 21:04:10 +10:00
parent 5c4566f419
commit 3b17ab1549

View File

@ -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