mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-06 06:14:57 +01:00
35fd42d042
The docker image already is on stretch, so no backports are needed
24 lines
793 B
Docker
24 lines
793 B
Docker
FROM nextcloud:fpm
|
|
|
|
RUN 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 \
|
|
# 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 imagick smbclient \
|
|
&& docker-php-ext-enable imagick smbclient \
|
|
&& mkdir /var/log/supervisord /var/run/supervisord
|
|
|
|
COPY supervisord.conf /etc/supervisor/supervisord.conf
|
|
|
|
CMD ["/usr/bin/supervisord"]
|