From: Sam Date: Fri, 29 May 2015 04:58:08 +0000 (+1000) Subject: fix dependencies X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=72e3cb0384e34e86f040c343bc80a68746e59627;p=discourse_docker.git fix dependencies --- diff --git a/image/base/install-gifsicle b/image/base/install-gifsicle index 17d8af9..b1c1042 100755 --- a/image/base/install-gifsicle +++ b/image/base/install-gifsicle @@ -7,5 +7,4 @@ cd gifsicle-$VERSION ./configure make install cd / -rm -fr /tmp/gifsicle-$PNGCRUSH_VERSION -rm /tmp/gifsicle-$PNGCRUSH_VERSION.tar.gz +rm -fr /tmp/gifsicle* diff --git a/image/base/install-pngquant b/image/base/install-pngquant index 852ebe0..2ff73d1 100755 --- a/image/base/install-pngquant +++ b/image/base/install-pngquant @@ -1,7 +1,9 @@ #!/bin/bash + +apt-get install -y libpng-dev VERSION=2.4.1 cd /tmp -curl -O https://github.com/pornel/pngquant/archive/$VERSION.tar.gz +wget https://github.com/pornel/pngquant/archive/$VERSION.tar.gz tar zxf $VERSION.tar.gz cd pngquant-$VERSION ./configure