diff --git a/Dockerfile b/Dockerfile index c791d6d..d63b428 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,9 +28,7 @@ RUN wget -q -O /dokuwiki.tgz "http://download.dokuwiki.org/src/dokuwiki/dokuwiki if [ "$DOKUWIKI_CSUM" != "$(md5sum /dokuwiki.tgz | awk '{print($1)}')" ];then echo "Wrong md5sum of downloaded file!"; exit 1; fi && \ mkdir /dokuwiki && \ tar -zxf dokuwiki.tgz -C /dokuwiki --strip-components 1 && \ - rm -rf dokuwiki.tgz && \ - cd /dokuwiki && \ - grep -Ev '^($|#)' data/deleted.files | xargs -n 1 rm -vrf + rm dokuwiki.tgz # Set up ownership RUN chown -R www-data:www-data /dokuwiki