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

41 lines
1.1 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
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
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 \
2018-07-20 09:14:14 +02:00
php5-json \
2016-07-04 09:53:13 +02:00
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
2017-05-30 05:19:31 +02:00
CMD php-fpm5 && nginx -g 'daemon off;'