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:
parent
783232840a
commit
2f90715d31
15 changed files with 41 additions and 11 deletions
|
@ -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`
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue