Skip to content

Commit

Permalink
Fix ImageMagick processing PDF thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
josokinas committed Mar 2, 2019
1 parent 2fab5ce commit 9e642a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Expand Up @@ -15,6 +15,8 @@ RUN apt-get update && \
wget && \
apt-get clean

RUN sed -i 's/\(<policy domain="coder" rights=\)"none" \(pattern="PDF" \/>\)/\1"read|write"\2/g' /etc/ImageMagick/policy.xml

RUN python --version
RUN curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" && \
python get-pip.py && \
Expand Down

0 comments on commit 9e642a8

Please sign in to comment.