1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/dokuwiki/Dockerfile

40 lines
1.0 KiB
Docker
Raw Normal View History

2015-05-19 12:42:59 +02:00
#
2015-08-24 18:13:01 +02:00
# Dockerfile for dokuwiki
2015-05-19 12:42:59 +02:00
#
2014-12-17 09:34:20 +02:00
2015-08-24 18:13:01 +02:00
FROM alpine
2016-05-01 03:06:20 +02:00
MAINTAINER kev <noreply@easypi.info>
2014-12-17 09:34:20 +02:00
2015-05-19 12:42:59 +02:00
WORKDIR /var/www/html
2014-12-17 09:34:20 +02:00
2016-03-31 11:54:13 +02:00
RUN set -xe \
2016-07-04 09:53:13 +02:00
&& apk add --no-cache ca-certificates \
gzip \
nginx \
openssl \
php5-fpm \
php5-openssl \
php5-pdo_sqlite \
php5-sqlite3 \
php5-xml \
php5-zlib \
tar \
2016-06-07 03:55:54 +02:00
&& touch /etc/php5/fpm.d/empty.conf \
2015-08-24 18:13:01 +02:00
&& wget -O- http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz | tar xz --strip 1 \
2016-07-04 09:53:13 +02:00
&& chown -R nobody:nobody .
2015-08-24 18:13:01 +02:00
COPY nginx.conf /etc/nginx/nginx.conf
2014-12-17 09:34:20 +02:00
2015-08-26 15:33:48 +02:00
VOLUME /var/www/html/conf \
/var/www/html/data/pages \
2015-05-19 12:42:59 +02:00
/var/www/html/data/meta \
/var/www/html/data/media \
/var/www/html/data/media_attic \
/var/www/html/data/media_meta \
/var/www/html/data/attic \
2015-08-26 15:33:48 +02:00
/var/www/html/lib/plugins
2014-12-17 09:34:20 +02:00
2015-08-24 18:13:01 +02:00
EXPOSE 80
2016-07-04 09:53:13 +02:00
CMD php-fpm && nginx -g 'daemon off;'