Skip to content

Instantly share code, notes, and snippets.

@buth
Created September 2, 2015 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buth/f65ed5da8d475bc80583 to your computer and use it in GitHub Desktop.
Save buth/f65ed5da8d475bc80583 to your computer and use it in GitHub Desktop.
Install PhantomJS
ENV PHANTOMJS_VERSION=1.9.8
RUN \
cd /usr/local && \
curl -fLO https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 && \
tar --strip-components 1 -xjf phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin/phantomjs && \
rm phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment