Skip to content

Commit

Permalink
Configure ImageMagick
Browse files Browse the repository at this point in the history
  • Loading branch information
yobrx authored Sep 3, 2021
1 parent cbed40d commit c647c70
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@ RUN apt-get update -qq && apt-get install -y -qq libxrender1
# Configure runner
RUN sed -e 's/;date\.timezone =/date\.timezone = Europe\/Paris/' -i /etc/php/7.0/cli/php.ini

# Configure ImageMagick
RUN mv /etc/ImageMagick-6/policy.xml /tmp/policy.xml && cat /tmp/policy.xml | sed "s/none/read|write/" > /etc/ImageMagick-6/policy.xml



VOLUME /var/www
WORKDIR /var/www/current

0 comments on commit c647c70

Please sign in to comment.