nextcloud/Dockerfile

31 lines
696 B
Docker
Raw Normal View History

2018-01-29 21:07:48 +00:00
FROM registry.gitlab.com/thallian/docker-php7-fpm:master
2016-08-31 12:55:12 +00:00
2016-11-01 13:40:10 +00:00
ENV FPMUSER nginx
ENV FPMGROUP nginx
2017-01-30 12:21:49 +00:00
RUN apk add --no-cache \
nginx \
2018-01-29 21:07:48 +00:00
nextcloud \
nextcloud-user_ldap \
2018-01-30 08:57:44 +00:00
nextcloud-files_sharing \
nextcloud-files_texteditor \
2018-01-30 09:56:04 +00:00
nextcloud-files_pdfviewer \
2018-02-04 14:41:00 +00:00
nextcloud-files_videoplayer \
2018-01-30 09:56:04 +00:00
nextcloud-theming \
2018-02-01 10:53:53 +00:00
nextcloud-gallery \
2018-01-30 07:36:21 +00:00
nextcloud-pgsql \
2018-01-30 09:47:09 +00:00
php7-opcache \
2018-01-30 09:56:04 +00:00
php7-pcntl \
php7-imagick
2016-11-01 13:40:10 +00:00
2016-08-31 12:55:12 +00:00
RUN chown -R nginx:nginx /var/lib/nextcloud
2018-01-30 07:36:21 +00:00
RUN chown -R nginx:nginx /etc/nextcloud
2018-01-29 21:07:48 +00:00
RUN chown -R nginx:nginx /usr/share/webapps/nextcloud
2016-08-31 12:55:12 +00:00
RUN mkdir /run/nginx
2018-01-29 21:08:27 +00:00
RUN rm /etc/nginx/conf.d/default.conf
2016-08-31 12:55:12 +00:00
2016-11-01 13:40:10 +00:00
ADD /rootfs /
2016-08-31 12:55:12 +00:00
2018-01-30 11:57:23 +00:00
VOLUME ["/var/lib/nextcloud/data" "/etc/nextcloud/"]