0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-12-26 19:16:13 +01:00
nextcloud-docker/.examples/dockerfiles/full/fpm/Dockerfile

26 lines
889 B
Text
Raw Normal View History

FROM nextcloud:fpm
RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list \
2018-08-06 14:40:03 +02:00
&& mkdir -p /usr/share/man/man1 \
&& apt-get update && apt-get install -y \
supervisor \
ffmpeg \
libmagickwand-dev \
libgmp3-dev \
libc-client-dev \
libkrb5-dev \
smbclient \
libsmbclient-dev \
2018-08-06 14:40:03 +02:00
# libreoffice \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
2018-01-03 19:58:39 +01:00
&& ln -s "/usr/include/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)/gmp.h" /usr/include/gmp.h \
&& docker-php-ext-install bz2 gmp imap \
&& pecl install imagick smbclient \
&& docker-php-ext-enable imagick smbclient \
2018-01-30 13:40:15 +01:00
&& mkdir /var/log/supervisord /var/run/supervisord
COPY supervisord.conf /etc/supervisor/supervisord.conf
CMD ["/usr/bin/supervisord"]