1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00

upgrade phantomjs to 2.1

This commit is contained in:
kev 2016-01-26 22:05:15 +08:00
parent 1af5bbd2bc
commit 433b1909c7

@ -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 \