Created
June 25, 2015 23:46
-
-
Save epintos/b0d01d998df48ab6cfc6 to your computer and use it in GitHub Desktop.
Ruby on Rails Continuous Integration with Jenkins and Docker Compose
This file contains 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.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