From b0609f27b820d5f03dae146bfa7213c93aa447bf Mon Sep 17 00:00:00 2001
From: Quentin Duchemin <quentinduchemin@tuta.io>
Date: Sat, 21 Sep 2019 20:48:00 +0200
Subject: [PATCH] Remove libreoffice/unoconv for exports - too heavy

---
 pica-etherpad/Dockerfile    | 2 +-
 pica-etherpad/entrypoint.sh | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/pica-etherpad/Dockerfile b/pica-etherpad/Dockerfile
index 678eb3cc..4f3dffda 100644
--- a/pica-etherpad/Dockerfile
+++ b/pica-etherpad/Dockerfile
@@ -68,7 +68,7 @@ FROM base
 
 COPY entrypoint.sh /opt/etherpad-lite/entrypoint.sh
 RUN apt-get update && \
-    apt-get install -y default-mysql-client unoconv libreoffice-writer libreoffice-pdfimport && \
+    apt-get install -y default-mysql-client && \
     chmod +x /opt/etherpad-lite/entrypoint.sh && \
     mkdir -p /opt/etherpad-lite && \
     chown -R node /opt/etherpad-lite && \
diff --git a/pica-etherpad/entrypoint.sh b/pica-etherpad/entrypoint.sh
index 61a0cb57..293232b4 100644
--- a/pica-etherpad/entrypoint.sh
+++ b/pica-etherpad/entrypoint.sh
@@ -94,7 +94,6 @@ cat <<- EOF > /opt/etherpad-lite/settings.json
 	"chatAndUsers": false
   },
   "allowUnknownFileEnds": false,
-  "soffice": "/usr/bin/soffice",
 EOF
 
 if [ $ETHERPAD_ADMIN_PASSWORD ]; then
-- 
GitLab