Created
April 16, 2014 17:17
-
-
Save ruckuus/10909424 to your computer and use it in GitHub Desktop.
Create casperjs docker image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment