Skip to content

Instantly share code, notes, and snippets.

@lisovskyvlad
Created December 22, 2015 09:33
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 lisovskyvlad/c4e0280028d91b06a81e to your computer and use it in GitHub Desktop.
Save lisovskyvlad/c4e0280028d91b06a81e to your computer and use it in GitHub Desktop.
Good example of dockerfile for ruby in drone.
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