diff --git a/docker/app/Dockerfile b/docker/app/Dockerfile index 790f292..475afeb 100644 --- a/docker/app/Dockerfile +++ b/docker/app/Dockerfile @@ -13,7 +13,8 @@ smbclient libsmbclient-dev \ libbz2-dev \ libmagickcore-6.q16-6-extra \ - ocrmypdf + ocrmypdf \ + imagemagick ghostscript RUN apt-get clean && rm -rf /var/lib/apt/lists/* RUN pecl install \ smbclient @@ -22,5 +23,6 @@ RUN docker-php-ext-install bz2 RUN docker-php-ext-install bcmath RUN docker-php-ext-enable smbclient +RUN sed -i '/domain="coder".*pattern="PDF"/c\' /etc/ImageMagick-6/policy.xml COPY redis.config.php /usr/src/nextcloud/config/redis.config.php