mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-15 19:05:09 +01:00
install imagemagick lib and enable preview generation cron job
This commit is contained in:
parent
bb42fcfaed
commit
5b1ab10656
1 changed files with 3 additions and 1 deletions
|
@ -4,6 +4,7 @@ RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/so
|
||||||
&& apt-get update && apt-get install -y \
|
&& apt-get update && apt-get install -y \
|
||||||
supervisor \
|
supervisor \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
|
libmagickcore-extra \
|
||||||
libmagickwand-dev \
|
libmagickwand-dev \
|
||||||
libgmp3-dev \
|
libgmp3-dev \
|
||||||
libc-client-dev \
|
libc-client-dev \
|
||||||
|
@ -17,7 +18,8 @@ RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/so
|
||||||
&& docker-php-ext-install bz2 gmp imap \
|
&& docker-php-ext-install bz2 gmp imap \
|
||||||
&& pecl install imagick smbclient \
|
&& pecl install imagick smbclient \
|
||||||
&& docker-php-ext-enable imagick smbclient \
|
&& docker-php-ext-enable imagick smbclient \
|
||||||
&& mkdir /var/log/supervisord /var/run/supervisord
|
&& mkdir /var/log/supervisord /var/run/supervisord \
|
||||||
|
&& echo '*/10 * * * * php -f /var/www/html/occ preview:pre-generate' >> /var/spool/cron/crontabs/www-data
|
||||||
|
|
||||||
COPY supervisord.conf /etc/supervisor/supervisord.conf
|
COPY supervisord.conf /etc/supervisor/supervisord.conf
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue