From: Rafael dos Santos Silva Date: Mon, 26 Jun 2017 23:36:01 +0000 (-0300) Subject: FIX: Download pngquant from git repository X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=89e850c7950e37066f62c25b35e4096f3df2630a;p=discourse_docker.git FIX: Download pngquant from git repository Makefile depends on git submodule, so this is mandatory for now --- diff --git a/image/base/install-pngquant b/image/base/install-pngquant index 57d7669..bc44eab 100755 --- a/image/base/install-pngquant +++ b/image/base/install-pngquant @@ -1,11 +1,8 @@ #!/bin/bash VERSION=2.8.0 cd /tmp -wget https://github.com/pornel/pngquant/archive/$VERSION.tar.gz -tar zxf $VERSION.tar.gz -cd pngquant-$VERSION -./configure +git clone -b $VERSION --single-branch https://github.com/pornel/pngquant +cd pngquant make && make install cd / rm -fr /tmp/pngq* -rm -fr /tmp/$VERSION*