« Back to Index
Node Dockerfile with PhantomJS
View original Gist on GitHub
Node Dockerfile with PhantomJS
FROM node:0.10
RUN apt-get update
RUN apt-get install curl build-essential chrpath git-core libssl-dev libfontconfig1-dev libxft-dev
RUN apt-get update \
&& curl -o phantomjs.tar.gz -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 \
&& tar -xvf phantomjs.tar.gz \
&& mv phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin
RUN apt-get autoremove -y
RUN apt-get clean all