0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-24 20:34:10 +02:00

Add imagick php extension

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>
This commit is contained in:
Robert Dailey 2018-12-10 18:06:21 -06:00
parent 783232840a
commit 2f90715d31
No known key found for this signature in database
GPG key ID: 97751323F0627314
15 changed files with 41 additions and 11 deletions

View file

@ -32,11 +32,6 @@ The required steps for each optional/recommended package that is not already in
#### PHP Module bz2
`docker-php-ext-install bz2`
#### PHP Module imagick
`apt install libmagickwand-dev`
`pecl install imagick`
`docker-php-ext-enable imagick`
#### PHP Module imap
`apt install libc-client-dev libkrb5-dev`
`docker-php-ext-configure imap --with-kerberos --with-imap-ssl`

View file

@ -4,7 +4,7 @@ RUN mkdir -p /usr/share/man/man1 \
&& apt-get update && apt-get install -y \
supervisor \
ffmpeg \
libmagickwand-dev \
libbz2-dev \
libgmp3-dev \
libc-client-dev \
libkrb5-dev \
@ -15,8 +15,8 @@ RUN mkdir -p /usr/share/man/man1 \
&& 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 \
&& pecl install smbclient \
&& docker-php-ext-enable smbclient \
&& mkdir /var/log/supervisord /var/run/supervisord
COPY supervisord.conf /etc/supervisor/supervisord.conf

View file

@ -4,7 +4,7 @@ RUN mkdir -p /usr/share/man/man1 \
&& apt-get update && apt-get install -y \
supervisor \
ffmpeg \
libmagickwand-dev \
libbz2-dev \
libgmp3-dev \
libc-client-dev \
libkrb5-dev \
@ -15,8 +15,8 @@ RUN mkdir -p /usr/share/man/man1 \
&& 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 \
&& pecl install smbclient \
&& docker-php-ext-enable smbclient \
&& mkdir /var/log/supervisord /var/run/supervisord
COPY supervisord.conf /etc/supervisor/supervisord.conf