From 59038d9a9f0c30db68a261e3807351eef362058b Mon Sep 17 00:00:00 2001
From: Chris <bsod@zom.bi>
Date: Sat, 22 Jul 2023 13:53:54 +0200
Subject: [PATCH 1/2] feat: add postgres php modules

adds postgres headers and the php modules for pdo_pgsql so you can run
nextcloud with a postgres database backend
---
 webservice/Dockerfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/webservice/Dockerfile b/webservice/Dockerfile
index 2135490..68f48f6 100644
--- a/webservice/Dockerfile
+++ b/webservice/Dockerfile
@@ -25,6 +25,7 @@ RUN \
         libjpeg-dev \
         libgmp-dev \
         curl \
+        libpq-dev \
         cron && \
     apt-get clean && \
 	rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
@@ -61,7 +62,9 @@ RUN \
         bcmath \
         sysvsem \
         pcntl \
-        opcache && \
+        opcache \
+        pdo_pgsql \
+        pdo && \
     CFLAGS="-I/usr/src/php" docker-php-ext-install xmlreader
 
 RUN \

From 306bb788c9269c4feb4fce6196c8f969c7e67c42 Mon Sep 17 00:00:00 2001
From: Chris <bsod@zom.bi>
Date: Fri, 11 Aug 2023 09:34:37 +0200
Subject: [PATCH 2/2] update nextcloud to 27.0.2

---
 webservice/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webservice/Dockerfile b/webservice/Dockerfile
index 68f48f6..eccd3dc 100644
--- a/webservice/Dockerfile
+++ b/webservice/Dockerfile
@@ -1,6 +1,6 @@
 FROM php:8.2-apache
 
-ENV NEXTCLOUD_VERSION 27.0.1
+ENV NEXTCLOUD_VERSION 27.0.2
 
 RUN \
     apt-get update && \