From d9c754f5c1f93d1d525b77ac7f179a9d47f96c74 Mon Sep 17 00:00:00 2001 From: Andreas Lind Date: Tue, 17 Nov 2015 17:22:03 +0100 Subject: [PATCH 1/2] Linux Dockerfile: Use a Debian Wheezy image instead of Ubuntu Precise. --- packaging/lin/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/lin/Dockerfile b/packaging/lin/Dockerfile index 98de39f1..6353e6b9 100644 --- a/packaging/lin/Dockerfile +++ b/packaging/lin/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:precise +FROM debian:wheezy MAINTAINER Lovell Fuller RUN apt-get update && apt-get install -y build-essential autoconf libtool nasm gtk-doc-tools texinfo From c0be4f13074e942acf135f3767f198b61941770b Mon Sep 17 00:00:00 2001 From: Andreas Lind Date: Tue, 17 Nov 2015 17:31:27 +0100 Subject: [PATCH 2/2] Dial back the required libc version to 2.13 --- binding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binding.js b/binding.js index 6593218d..7795f42b 100644 --- a/binding.js +++ b/binding.js @@ -62,7 +62,7 @@ module.exports.download_vips = function() { var lddVersion = process.env.LDD_VERSION; if (lddVersion) { var libcVersion = lddVersion ? lddVersion.split(/\n/)[0].split(' ').slice(-1)[0].trim() : ''; - if (libcVersion && semver.lt(libcVersion + '.0', '2.15.0')) { + if (libcVersion && semver.lt(libcVersion + '.0', '2.13.0')) { error('libc version ' + libcVersion + ' requires manual installation - please see http://sharp.dimens.io/en/stable/install/'); } }