Remove gifsicle dependency
authorRafael dos Santos Silva <xfalcox@gmail.com>
Wed, 27 Jan 2021 17:09:27 +0000 (14:09 -0300)
committerRafael dos Santos Silva <xfalcox@gmail.com>
Wed, 27 Jan 2021 18:27:41 +0000 (15:27 -0300)
https://github.com/discourse/discourse/commit/43e52a7dc1d9e610792ff37755d26b1168ecf20d

image/base/Dockerfile
image/base/install-gifsicle [deleted file]

index dae8bf0670f436c4d65616bf2ca5f31dea1113ac..6f3d5a8438ffbbdb3f8c95888b255e8e9c3cbea0 100644 (file)
@@ -93,9 +93,6 @@ RUN ruby -Eutf-8 -e "v = \`convert -version\`; %w{png tiff jpeg freetype heic}.e
 ADD install-pngcrush /tmp/install-pngcrush
 RUN /tmp/install-pngcrush
 
-ADD install-gifsicle /tmp/install-gifsicle
-RUN /tmp/install-gifsicle
-
 ADD install-pngquant /tmp/install-pngquant
 RUN /tmp/install-pngquant
 
diff --git a/image/base/install-gifsicle b/image/base/install-gifsicle
deleted file mode 100755 (executable)
index 8813eff..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-set -e
-
-# version check: https://www.lcdf.org/gifsicle/
-VERSION=1.92
-HASH="5ab556c01d65fddf980749e3ccf50b7fd40de738b6df679999294cc5fabfce65"
-
-cd /tmp
-curl -O http://www.lcdf.org/gifsicle/gifsicle-$VERSION.tar.gz
-sha256sum gifsicle-$VERSION.tar.gz
-echo "$HASH gifsicle-$VERSION.tar.gz" | sha256sum -c
-
-tar zxf gifsicle-$VERSION.tar.gz
-cd gifsicle-$VERSION
-./configure
-make install
-cd /
-rm -fr /tmp/gifsicle*