Created
October 2, 2014 14:58
-
-
Save dblooman/f64705f925cdfd09cbf1 to your computer and use it in GitHub Desktop.
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 ruby:2.1.2 | |
| # some of ruby's build scripts are written in ruby | |
| # we purge this later to make sure our final image uses what we just built | |
| 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 install -y libfreetype6 libfontconfig1 | |
| # skip installing gem documentation | |
| RUN echo 'gem: --no-rdoc --no-ri' >> /.gemrc | |
| RUN gem install wraith | |
| CMD [ "irb" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment