1
0
Fork 0
mirror of https://github.com/docker-library/ruby.git synced 2022-11-09 11:41:34 -05:00
docker-library--ruby/2.2/onbuild/Dockerfile
Brian Goff 4ccabb5557 Bump ruby minor versions
2.2.2
2.1.6
2.0.0-p645

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2015-04-13 13:11:29 -04:00

13 lines
296 B
Docker

FROM ruby:2.2.2
# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ONBUILD COPY Gemfile /usr/src/app/
ONBUILD COPY Gemfile.lock /usr/src/app/
ONBUILD RUN bundle install
ONBUILD COPY . /usr/src/app