From d0bc9b19605d28862e408612e650cd1241218b09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?PICHOU=20Ky=C3=A2ne?= <kyane.pichou@etu.utc.fr>
Date: Thu, 23 Mar 2017 22:57:53 +0100
Subject: [PATCH] Update kanboard dockerfile

---
 pica-kanboard/Dockerfile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/pica-kanboard/Dockerfile b/pica-kanboard/Dockerfile
index e4e01d6c..2f4e852a 100644
--- a/pica-kanboard/Dockerfile
+++ b/pica-kanboard/Dockerfile
@@ -1,7 +1,13 @@
 FROM registry.picasoft.net:5000/pica-nginx
 MAINTAINER antoine@barbare.me
 
-RUN apt-get update -y && apt-get install -y php7.0-mbstring php7.0-sqlite3 unzip
+RUN export DEBIAN_FRONTEND=noninteractive && \
+    apt-get update -y && \
+    apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
+    	install -y \
+    	php7.0-mbstring \
+	php7.0-pgsql \
+    	unzip
 
 RUN cd /var/www && \
     curl -O -L "http://kanboard.net/kanboard-latest.zip" && \
@@ -12,6 +18,6 @@ RUN cd /var/www && \
     chown -R www-data:www-data /var/www/html
 
 EXPOSE 80
-VOLUME ["/var/www","/var/www/html/data"]
+VOLUME ["/var/www/html/data","/var/www/html/plugins"]
 
 CMD /start.sh
-- 
GitLab