1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-20 04:59:27 +02:00
dockerfiles/dokuwiki/Dockerfile

42 lines
908 B
Docker
Raw Normal View History

2015-05-19 18:42:59 +08:00
#
2015-08-25 00:13:01 +08:00
# Dockerfile for dokuwiki
2015-05-19 18:42:59 +08:00
#
2014-12-17 15:34:20 +08:00
2020-01-09 17:22:20 +08:00
FROM alpine:3
MAINTAINER EasyPi Software Foundation
2014-12-17 15:34:20 +08:00
2015-05-19 18:42:59 +08:00
WORKDIR /var/www/html
2014-12-17 15:34:20 +08:00
2016-03-31 17:54:13 +08:00
RUN set -xe \
2020-01-09 17:22:20 +08:00
&& apk add --no-cache \
ca-certificates \
gzip \
nginx \
openssl \
2022-01-24 11:11:33 +08:00
php8-fpm \
php8-json \
php8-openssl \
php8-pdo_sqlite \
php8-session \
php8-sqlite3 \
php8-xml \
php8-zlib \
2020-01-09 17:22:20 +08:00
tar \
2015-08-25 00:13:01 +08:00
&& wget -O- http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz | tar xz --strip 1 \
2016-07-04 15:53:13 +08:00
&& chown -R nobody:nobody .
2015-08-25 00:13:01 +08:00
COPY nginx.conf /etc/nginx/nginx.conf
2014-12-17 15:34:20 +08:00
2015-08-26 21:33:48 +08:00
VOLUME /var/www/html/conf \
/var/www/html/data/pages \
2015-05-19 18:42:59 +08: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 21:33:48 +08:00
/var/www/html/lib/plugins
2014-12-17 15:34:20 +08:00
2015-08-25 00:13:01 +08:00
EXPOSE 80
2022-01-24 11:11:33 +08:00
CMD php-fpm8 && nginx -g 'daemon off;'