Update bundler

This commit is contained in:
Eric Schultz 2019-11-05 16:17:11 -06:00
parent 8bcec9bb91
commit 7763a84d93
2 changed files with 2 additions and 0 deletions

View file

@ -13,6 +13,7 @@ COPY gems /myapp/gems/
WORKDIR /myapp WORKDIR /myapp
COPY Gemfile /myapp/Gemfile COPY Gemfile /myapp/Gemfile
COPY Gemfile.lock /myapp/Gemfile.lock COPY Gemfile.lock /myapp/Gemfile.lock
RUN gem install bundler -v "~>1.0"
RUN bundle install RUN bundle install
CMD rake -T CMD rake -T

View file

@ -13,6 +13,7 @@ COPY gems /myapp/gems/
WORKDIR /myapp WORKDIR /myapp
COPY Gemfile /myapp/Gemfile COPY Gemfile /myapp/Gemfile
COPY Gemfile.lock /myapp/Gemfile.lock COPY Gemfile.lock /myapp/Gemfile.lock
RUN gem install bundler -v "~>1.0"
RUN bundle install RUN bundle install
RUN groupadd -r -g 1000 $USER RUN groupadd -r -g 1000 $USER
RUN useradd -r -m -g $USER -u 1000 $USER RUN useradd -r -m -g $USER -u 1000 $USER