From 1345529f0ba89da988d422773217e3720b820569 Mon Sep 17 00:00:00 2001 From: nfebe Date: Sun, 23 Aug 2026 16:09:29 +0100 Subject: [PATCH] feat: Add the PostgreSQL driver Applications built on this image could only reach MySQL and SQLite. Pointing one at PostgreSQL failed on the first query with no driver found, and each application had to install the extension for itself. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 01e8370..bfc0894 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,9 +14,10 @@ RUN apk add --no-cache \ libxml2-dev \ oniguruma-dev \ freetype-dev \ - libjpeg-turbo-dev + libjpeg-turbo-dev \ + postgresql-dev -RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd zip +RUN docker-php-ext-install pdo_mysql pdo_pgsql mbstring exif pcntl bcmath gd zip RUN cat < /usr/local/etc/php/conf.d/error-logging.ini [PHP]