From 9d707d993d8b776c119419972be9d9ff6b8110b1 Mon Sep 17 00:00:00 2001
From: Igor Witz <igor.witz@etu.utc.fr>
Date: Tue, 27 Nov 2018 19:33:39 +0100
Subject: [PATCH] Update pica-dokuwiki/Dockerfile

---
 pica-dokuwiki/Dockerfile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/pica-dokuwiki/Dockerfile b/pica-dokuwiki/Dockerfile
index 30b31308..6db9b1a1 100644
--- a/pica-dokuwiki/Dockerfile
+++ b/pica-dokuwiki/Dockerfile
@@ -11,7 +11,6 @@ RUN apt-get update -y && \
         php7.0-gd \
         php7.0-xml \
         libidn2-0 && \
-    apt-get remove -y libidn11 && \
     mkdir -p html && \
     echo "cgi.fix_pathinfo = 0;" >> /etc/php/7.0/fpm/php.ini && \
     sed -i -e "s|;daemonize\s*=\s*yes|daemonize = no|g" /etc/php/7.0/fpm/php-fpm.conf && \
@@ -22,7 +21,11 @@ RUN apt-get update -y && \
     curl -O -L "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" && \
     tar -xzf dokuwiki-stable.tgz -C html --strip-components 1 && \
     rm -f dokuwiki-stable.tgz && \
-    chown -R nginx:nginx html
+    chown -R nginx:nginx html && \
+    apt-get remove curl -y
+    apt-get -y autoclean && \
+    apt-get -y clean && \
+    apt-get -y autoremove
 
 USER nginx
 EXPOSE 80
-- 
GitLab