Skip to content

Instantly share code, notes, and snippets.

@epintos
Created June 25, 2015 23:46
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 epintos/b0d01d998df48ab6cfc6 to your computer and use it in GitHub Desktop.
Save epintos/b0d01d998df48ab6cfc6 to your computer and use it in GitHub Desktop.
Ruby on Rails Continuous Integration with Jenkins and Docker Compose
FROM ruby:2.2.2
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
# Install RMagick
# RUN apt-get install -y libmagickwand-dev imagemagick
# Install Nokogiri
# RUN apt-get install -y zlib1g-dev
RUN mkdir /myapp
WORKDIR /tmp
COPY Gemfile Gemfile
COPY Gemfile.lock Gemfile.lock
RUN bundle install -j 4
ADD . /myapp
WORKDIR /myapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment