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 \