From a7f6bfbc5ecbd0f01423e2bc1c9f49457d967dc8 Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 25 May 2015 23:32:00 +0800 Subject: [PATCH] fix --- phantomjs/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/phantomjs/Dockerfile b/phantomjs/Dockerfile index dd24a36..56e5d9a 100644 --- a/phantomjs/Dockerfile +++ b/phantomjs/Dockerfile @@ -12,10 +12,7 @@ RUN apt-get update \ && git clone git://github.com/ariya/phantomjs.git \ && cd phantomjs \ && git checkout 2.0 \ - && echo y | ./build.sh > /dev/null \ - && make install \ - && cd .. \ - && rm -rf phantomjs \ + && echo y | ./build.sh 2>/dev/null 1>&2 \ && apt-get remove -y git build-essential g++ flex bison gperf ruby perl \ libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \ libpng-dev libjpeg-dev python \ @@ -23,3 +20,4 @@ RUN apt-get update \ && apt-get clean -y \ && rm -rf /var/lib/apt/lists/* +CMD ["/bin/bash"]