fix: Change imagemagick policy for pdfs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
11b4e51e58
commit
209621cb89
1 changed files with 4 additions and 1 deletions
|
@ -50,12 +50,15 @@ RUN apt-get update && apt-get install -y libgmp3-dev \
|
|||
&& docker-php-ext-install gmp
|
||||
|
||||
##
|
||||
## SVG support
|
||||
## SVG and LibreSign support
|
||||
##
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libmagickcore-6.q16-6-extra \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN sed -i'' 's|.*<policy domain="coder".*"PDF".*|<policy domain="coder" rights="read \| write" pattern="PDF" />|g' \
|
||||
/etc/ImageMagick-6/policy.xml
|
||||
|
||||
##
|
||||
## Raise memory limit for PHP
|
||||
##
|
||||
|
|
Loading…
Reference in a new issue