Removed the cleanup part as it won't have desired effect if running build-time.

Also removed unnecessary "-rf" for the archive removal.
master
Miroslav Prasil 9 years ago
parent e7290fa571
commit e320bd1743
  1. 4
      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

Loading…
Cancel
Save