From 3ae86c066098645c0fa4724ee9a1244f01b1606f Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 27 Jun 2014 14:14:22 +1000 Subject: [PATCH] add phantom to base image --- image/discourse/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/image/discourse/Dockerfile b/image/discourse/Dockerfile index 6aba6fb..7a34e8a 100644 --- a/image/discourse/Dockerfile +++ b/image/discourse/Dockerfile @@ -13,6 +13,11 @@ RUN useradd discourse -s /bin/bash -m -U &&\ cd /var/www/discourse/vendor/bundle &&\ find . -name tmp -type d | xargs rm -rf && cd / +RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 &&\ + tar -xjf phantomjs-1.9.7-linux-x86_64.tar.bz2 &&\ + rm phantomjs-1.9.7-linux-x86_64.tar.bz2 &&\ + cp phantomjs-1.9.7-linux-x86_64/bin/phantomjs /bin/phantomjs &&\ + rm -fr phantomjs-1.9.7-linux-x86_64 # For a smaller but less flexible image: #RUN apt-get -y autoremove build-essential gcc gcc-4.7 .+-dev -- 2.25.1