2017-12-24 13:08:07 +00:00
|
|
|
FROM nextcloud:fpm
|
|
|
|
|
2018-08-27 15:27:21 +00:00
|
|
|
RUN mkdir -p /usr/share/man/man1 \
|
2017-12-24 13:08:07 +00:00
|
|
|
&& apt-get update && apt-get install -y \
|
|
|
|
supervisor \
|
|
|
|
ffmpeg \
|
2018-12-11 00:06:21 +00:00
|
|
|
libbz2-dev \
|
2017-12-24 13:08:07 +00:00
|
|
|
libgmp3-dev \
|
|
|
|
libc-client-dev \
|
|
|
|
libkrb5-dev \
|
|
|
|
smbclient \
|
|
|
|
libsmbclient-dev \
|
2018-08-06 12:40:03 +00:00
|
|
|
# libreoffice \
|
2017-12-24 13:08:07 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
2018-01-03 18:58:39 +00:00
|
|
|
&& ln -s "/usr/include/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)/gmp.h" /usr/include/gmp.h \
|
2017-12-24 13:08:07 +00:00
|
|
|
&& docker-php-ext-install bz2 gmp imap \
|
2018-12-11 00:06:21 +00:00
|
|
|
&& pecl install smbclient \
|
|
|
|
&& docker-php-ext-enable smbclient \
|
2018-01-30 12:40:15 +00:00
|
|
|
&& mkdir /var/log/supervisord /var/run/supervisord
|
2017-12-24 13:08:07 +00:00
|
|
|
|
|
|
|
COPY supervisord.conf /etc/supervisor/supervisord.conf
|
|
|
|
|
2018-10-17 08:25:26 +00:00
|
|
|
ENV NEXTCLOUD_UPDATE=1
|
|
|
|
|
2017-12-24 13:08:07 +00:00
|
|
|
CMD ["/usr/bin/supervisord"]
|