From 40292d4da439ed0e208f3451779e5cf6306f6f5f 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 --- .gitea/workflows/build_docker.yaml | 2 +- docker/Dockerfile | 10 +++++----- docker/Dockerfile.phptest | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index 58515f0..70656d5 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-server DOCKER_HOST: tcp://127.0.0.1:2375 jobs: 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 \