Add imagick and gmp modules
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 44s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m33s
Create Docker Image / Final Docker Image Manifest (push) Successful in 13s
Create Docker Image / Build Docker Test Image (x86_64) (push) Successful in 55s
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 58a035987f
2 changed files with 9 additions and 6 deletions

View File

@ -2,7 +2,7 @@ name: Create Docker Image
run-name: ${{ gitea.actor }} Building Docker Image 🐳
on: [push]
env:
VERSION: 8.3-fpm-pgsql
VERSION: 8.3-fpm-pgsql-image
DOCKER_HOST: tcp://127.0.0.1:2375
jobs:

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