Created
December 22, 2015 09:33
-
-
Save lisovskyvlad/c4e0280028d91b06a81e to your computer and use it in GitHub Desktop.
Good example of dockerfile for ruby in drone.
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.2 | |
RUN gem update --system && gem install bundler | |
RUN sed -i 's/deb http:\/\/httpredir.debian.org\/debian jessie main/deb http:\/\/httpredir.debian.org\/debian jessie main non-free/' /etc/apt/sources.list | |
RUN sed -i 's/deb http:\/\/security.debian.org jessie\/updates main/deb http:\/\/security.debian.org jessie\/updates main non-free/' /etc/apt/sources.list | |
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash - && apt-get install -y nodejs unrar && npm install -g phantomjs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment