From 73122040802a393399e317e4184d323fc5d46609 Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 23 Nov 2016 21:20:53 +0800 Subject: [PATCH] update phantomjs --- phantomjs/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phantomjs/Dockerfile b/phantomjs/Dockerfile index debcc39..dc1a3ef 100644 --- a/phantomjs/Dockerfile +++ b/phantomjs/Dockerfile @@ -3,7 +3,7 @@ # FROM ubuntu:14.04 -MAINTAINER kev +MAINTAINER EasyPi Software Foundation ENV PHANTOMJS_VERSION 2.1.1 @@ -29,11 +29,11 @@ RUN set -xe \ ruby \ && git clone git://github.com/ariya/phantomjs.git \ && cd phantomjs \ - && git checkout PHANTOMJS_VERSION \ + && git checkout $PHANTOMJS_VERSION \ && git submodule init \ && git submodule update \ && sed -i '/platform:/s@^@//@' src/ghostdriver/hub_register.js \ - && echo y | ./build.py 2>/dev/null 1>&2 \ + && echo y | ./build.py \ && install -v -s -m 755 bin/phantomjs /usr/local/bin/ \ && cd .. \ && rm -rf phantomjs \ @@ -54,4 +54,4 @@ RUN set -xe \ ruby \ && rm -rf /var/lib/apt/lists/* -CMD ["/usr/local/bin/phantomjs"] +CMD ["phantomjs"]