From 1a12184528ff55f209753d11143d8cb1bae10306 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 20 Feb 2017 17:37:48 +0100 Subject: [PATCH] Download imagemagick from git that has consistent tag names. --- docker/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 14a7e6982..63f1cb6ac 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -42,14 +42,14 @@ RUN apt-get update -yq && \ libwmf-dev libpango1.0-dev librsvg2-bin librsvg2-dev \ libxml2-dev libwebp-dev webp -RUN wget http://mirror.checkdomain.de/imagemagick/releases/ImageMagick-7.0.4-7.tar.xz && \ - tar xvf ImageMagick-7.0.4-7.tar.xz && \ - cd ./ImageMagick-7.0.4-7 && \ +RUN git clone https://github.com/ImageMagick/ImageMagick.git imagemagick && \ + cd imagemagick && \ + git checkout -f 7.0.4-10 && \ ./configure --prefix=/opt/img && \ make -j2 && \ make install && \ cd .. && \ - rm -rf ./ImageMagick-7.0.4-7.tar.xz ./ImageMagick-7.0.4-7 + rm -rf ./imagemagick EXPOSE 3449 EXPOSE 6060