diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index 58515f0..c4bcd4b 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -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: 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