diff --git a/Dockerfile b/Dockerfile index a4b4a42b5..ece93a08b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,15 @@ RUN add-apt-repository ppa:chris-lea/node.js RUN apt-get update # New ubuntu packages should be added as their own apt-get install lines below the existing install commands -RUN apt-get install -y git python-virtualenv python-dev phantomjs libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev libevent-dev gdebi-core g++ libmagic1 nodejs libssl1.0.0 +RUN apt-get install -y git python-virtualenv python-dev libjpeg8 libjpeg62-dev libevent-dev gdebi-core g++ libmagic1 libssl1.0.0 + +# PhantomJS +RUN apt-get install -y libfreetype6 libfreetype6-dev fontconfig +ADD https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 phantomjs.tar.bz2 +RUN tar xjf phantomjs.tar.bz2 && ln -s `pwd`/phantomjs*/bin/phantomjs /usr/bin/phantomjs + +# Grunt +RUN apt-get install -y nodejs RUN npm install -g grunt-cli ADD binary_dependencies binary_dependencies