From f84de5ca62fc6e6a9b05b48034172b452a81817c Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Fri, 3 Nov 2017 08:43:28 +0100 Subject: [PATCH] =?UTF-8?q?m=C3=A9nage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bfb21c1..d25afc7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,14 @@ FROM "php:7.1-apache" RUN sed -i'' 's/^Listen 80$/Listen 8080/' "/etc/apache2/ports.conf" && \ sed -i'' 's/^$//' '/etc/apache2/sites-enabled/000-default.conf' && \ rm -rf "/usr/share/doc/*" \ - "/var/cache/*" \ - "/var/lib/apt/lists/*" + "/var/cache/*" \ + "/var/lib/apt/lists/*" \ + "/usr/src/*" \ + "/var/cache/*" \ + "/var/log/"{apt/*,dpkg.log} \ + "/var/www/html" && \ + mkdir "/var/www/html" && \ + chown "www-data":"www-data" "/var/www/html" USER "www-data" RUN curl -L "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" | tar -zx --strip=1