Verified Commit c80d1404 authored by Camil Staps's avatar Camil Staps 🚀

Fix #125 by dropping imagemagick. librsvg (which imagemagick uses under the...

Fix #125 by dropping imagemagick. librsvg (which imagemagick uses under the hood) does not have this problem, and building the docker container will be faster without all the bloat
parent 1c4a66dd
FROM php:apache
FROM php:7.2-rc-apache
# PHP dependencies
RUN docker-php-source extract \
......@@ -39,7 +39,7 @@ RUN bash iconv.sh && rm iconv.sh
COPY logo.svg /var/www/logo.svg
RUN cd /var/www \
&& apt-get install -qq imagemagick \
&& convert -resize 200x logo.svg logo.png \
&& apt-get remove -qq imagemagick \
&& apt-get install -qq librsvg2-bin \
&& rsvg-convert -h 200 logo.svg > logo.png \
&& apt-get remove -qq librsvg2-bin \
&& apt-get autoremove -qq
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment