diff --git a/dokuwiki2/Dockerfile b/dokuwiki2/Dockerfile new file mode 100644 index 0000000..b3c26a8 --- /dev/null +++ b/dokuwiki2/Dockerfile @@ -0,0 +1,19 @@ +# +# Dockerfile for Dokuwiki +# + +FROM php:5.6-apache +MAINTAINER kev + +WORKDIR /var/www/html + +RUN a2enmod rewrite +RUN curl "http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" | tar xz --strip 1 +RUN chown -R www-data:www-data . + +VOLUME [ \ + "/var/www/html/conf", \ + "/var/www/html/data", \ + "/var/www/html/lib/plugins" \ +] +