2f90715d31
There is a warning issued in Nextcloud 15 about 'imagick' php extension not being present. They highly recommend that it be installed. Fixes #574, fixes #263 Signed-off-by: Robert Dailey <rcdailey@gmail.com>
27 lines
797 B
Docker
27 lines
797 B
Docker
FROM nextcloud:apache
|
|
|
|
RUN mkdir -p /usr/share/man/man1 \
|
|
&& apt-get update && apt-get install -y \
|
|
supervisor \
|
|
ffmpeg \
|
|
libbz2-dev \
|
|
libgmp3-dev \
|
|
libc-client-dev \
|
|
libkrb5-dev \
|
|
smbclient \
|
|
libsmbclient-dev \
|
|
# libreoffice \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
&& 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 smbclient \
|
|
&& docker-php-ext-enable smbclient \
|
|
&& mkdir /var/log/supervisord /var/run/supervisord
|
|
|
|
COPY supervisord.conf /etc/supervisor/supervisord.conf
|
|
|
|
ENV NEXTCLOUD_UPDATE=1
|
|
|
|
CMD ["/usr/bin/supervisord"]
|