Skip to content

Instantly share code, notes, and snippets.

@ruckuus
Created April 16, 2014 17:17
Show Gist options
  • Select an option

  • Save ruckuus/10909424 to your computer and use it in GitHub Desktop.

Select an option

Save ruckuus/10909424 to your computer and use it in GitHub Desktop.

Revisions

  1. ruckuus created this gist Apr 16, 2014.
    9 changes: 9 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    FROM ubuntu
    RUN apt-get update
    RUN apt-get install -y git-core curl libfreetype6 libfontconfig
    RUN curl -LO https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
    RUN tar xjfv phantomjs-1.9.7-linux-x86_64.tar.bz2 -C /usr/local/
    RUN ln -sf /usr/local/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
    RUN git clone https://github.com/n1k0/casperjs.git /usr/local/casperjs
    RUN ln -sf /usr/local/casperjs/bin/casperjs /usr/local/bin/casperjs
    RUN rm -f phantomjs-1.9.7-linux-x86_64.tar.bz2