From d222a2189f05c6d3599d987828566ec17f4562ef 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 1214c71..5090f92 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 8a1f1b3f17ec5f7c889bae3b17b2d65031ecb24f 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 5090f92..eccd3dc 100644
--- a/webservice/Dockerfile
+++ b/webservice/Dockerfile
@@ -1,6 +1,6 @@
 FROM php:8.2-apache
 
-ENV NEXTCLOUD_VERSION 26.0.4
+ENV NEXTCLOUD_VERSION 27.0.2
 
 RUN \
     apt-get update && \