|
|
@ -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 && \ |
|
|
|
if [ "$DOKUWIKI_CSUM" != "$(md5sum /dokuwiki.tgz | awk '{print($1)}')" ];then echo "Wrong md5sum of downloaded file!"; exit 1; fi && \ |
|
|
|
mkdir /dokuwiki && \ |
|
|
|
mkdir /dokuwiki && \ |
|
|
|
tar -zxf dokuwiki.tgz -C /dokuwiki --strip-components 1 && \ |
|
|
|
tar -zxf dokuwiki.tgz -C /dokuwiki --strip-components 1 && \ |
|
|
|
rm -rf dokuwiki.tgz && \ |
|
|
|
rm dokuwiki.tgz |
|
|
|
cd /dokuwiki && \ |
|
|
|
|
|
|
|
grep -Ev '^($|#)' data/deleted.files | xargs -n 1 rm -vrf |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Set up ownership |
|
|
|
# Set up ownership |
|
|
|
RUN chown -R www-data:www-data /dokuwiki |
|
|
|
RUN chown -R www-data:www-data /dokuwiki |
|
|
|