From 8a877830037fb4b0b8ed30050332fd803626a40f Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 3 Feb 2023 21:38:44 +1100 Subject: [PATCH] PHP 8.3 install install sockets and pcntl --- docker/Dockerfile | 10 +++++----- docker/Dockerfile.phptest | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6a3b1d5..2dd023b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,8 +1,8 @@ # NAME docker/php -# VERSION 8.3-fpm-pgsql +# VERSION 8.3-fpm-pgsql-server -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 +RUN apk --no-cache add linux-headers \ + && docker-php-ext-install -j$(nproc) sockets pcntl \ + && apk --no-cache del linux-headers diff --git a/docker/Dockerfile.phptest b/docker/Dockerfile.phptest index 74b118b..1d7c89c 100644 --- a/docker/Dockerfile.phptest +++ b/docker/Dockerfile.phptest @@ -1,7 +1,7 @@ # NAME docker/php -# VERSION 8.3-fpm-pgsql-test +# VERSION 8.3-fpm-pgsql-server-test -FROM gitea.dege.au/docker/php:8.3-fpm-pgsql +FROM gitea.dege.au/docker/php:8.3-fpm-pgsql-server # Add xdebug RUN apk --no-cache add linux-headers \