From 433b1909c709ccbf781a607144922d815cd77b59 Mon Sep 17 00:00:00 2001 From: kev Date: Tue, 26 Jan 2016 22:05:15 +0800 Subject: [PATCH] upgrade phantomjs to 2.1 --- phantomjs/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phantomjs/Dockerfile b/phantomjs/Dockerfile index 69b26ba..78f6905 100644 --- a/phantomjs/Dockerfile +++ b/phantomjs/Dockerfile @@ -25,9 +25,9 @@ RUN set -xe \ perl \ python \ ruby \ - && git clone -b 2.0 --single-branch git://github.com/ariya/phantomjs.git \ + && git clone -b 2.1 --depth 1 --single-branch git://github.com/ariya/phantomjs.git \ && cd phantomjs \ - && echo y | ./build.sh 2>/dev/null 1>&2 \ + && echo y | ./build.py 2>/dev/null 1>&2 \ && install -v -s -m 755 bin/phantomjs /usr/local/bin/ \ && cd .. \ && rm -rf phantomjs \