Update bundler
This commit is contained in:
parent
8bcec9bb91
commit
7763a84d93
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue