mirror of
https://github.com/docker-library/ruby.git
synced 2022-11-09 11:41:34 -05:00
Silence bundler's root warning by default
This commit is contained in:
parent
b8e8fe051b
commit
a1a3705311
12 changed files with 24 additions and 8 deletions
|
@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2
|
||||||
|
|
||||||
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
||||||
&& bundle config --global path "$GEM_HOME" \
|
&& bundle config --global path "$GEM_HOME" \
|
||||||
&& bundle config --global bin "$GEM_HOME/bin"
|
&& bundle config --global bin "$GEM_HOME/bin" \
|
||||||
|
&& bundle config --global silence_root_warning true
|
||||||
|
|
||||||
# don't create ".bundle" in all our apps
|
# don't create ".bundle" in all our apps
|
||||||
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
||||||
|
|
|
@ -3,6 +3,8 @@ FROM ruby:2.0
|
||||||
# throw errors if Gemfile has been modified since Gemfile.lock
|
# throw errors if Gemfile has been modified since Gemfile.lock
|
||||||
RUN bundle config --global frozen 1
|
RUN bundle config --global frozen 1
|
||||||
|
|
||||||
|
RUN bundle config --global silence_root_warning true
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/app
|
RUN mkdir -p /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2
|
||||||
|
|
||||||
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
||||||
&& bundle config --global path "$GEM_HOME" \
|
&& bundle config --global path "$GEM_HOME" \
|
||||||
&& bundle config --global bin "$GEM_HOME/bin"
|
&& bundle config --global bin "$GEM_HOME/bin" \
|
||||||
|
&& bundle config --global silence_root_warning true
|
||||||
|
|
||||||
# don't create ".bundle" in all our apps
|
# don't create ".bundle" in all our apps
|
||||||
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
||||||
|
|
|
@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2
|
||||||
|
|
||||||
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
||||||
&& bundle config --global path "$GEM_HOME" \
|
&& bundle config --global path "$GEM_HOME" \
|
||||||
&& bundle config --global bin "$GEM_HOME/bin"
|
&& bundle config --global bin "$GEM_HOME/bin" \
|
||||||
|
&& bundle config --global silence_root_warning true
|
||||||
|
|
||||||
# don't create ".bundle" in all our apps
|
# don't create ".bundle" in all our apps
|
||||||
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
||||||
|
|
|
@ -3,6 +3,8 @@ FROM ruby:2.1
|
||||||
# throw errors if Gemfile has been modified since Gemfile.lock
|
# throw errors if Gemfile has been modified since Gemfile.lock
|
||||||
RUN bundle config --global frozen 1
|
RUN bundle config --global frozen 1
|
||||||
|
|
||||||
|
RUN bundle config --global silence_root_warning true
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/app
|
RUN mkdir -p /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2
|
||||||
|
|
||||||
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
||||||
&& bundle config --global path "$GEM_HOME" \
|
&& bundle config --global path "$GEM_HOME" \
|
||||||
&& bundle config --global bin "$GEM_HOME/bin"
|
&& bundle config --global bin "$GEM_HOME/bin" \
|
||||||
|
&& bundle config --global silence_root_warning true
|
||||||
|
|
||||||
# don't create ".bundle" in all our apps
|
# don't create ".bundle" in all our apps
|
||||||
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
||||||
|
|
|
@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2
|
||||||
|
|
||||||
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
||||||
&& bundle config --global path "$GEM_HOME" \
|
&& bundle config --global path "$GEM_HOME" \
|
||||||
&& bundle config --global bin "$GEM_HOME/bin"
|
&& bundle config --global bin "$GEM_HOME/bin" \
|
||||||
|
&& bundle config --global silence_root_warning true
|
||||||
|
|
||||||
# don't create ".bundle" in all our apps
|
# don't create ".bundle" in all our apps
|
||||||
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
||||||
|
|
|
@ -3,6 +3,8 @@ FROM ruby:2.2
|
||||||
# throw errors if Gemfile has been modified since Gemfile.lock
|
# throw errors if Gemfile has been modified since Gemfile.lock
|
||||||
RUN bundle config --global frozen 1
|
RUN bundle config --global frozen 1
|
||||||
|
|
||||||
|
RUN bundle config --global silence_root_warning true
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/app
|
RUN mkdir -p /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2
|
||||||
|
|
||||||
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
||||||
&& bundle config --global path "$GEM_HOME" \
|
&& bundle config --global path "$GEM_HOME" \
|
||||||
&& bundle config --global bin "$GEM_HOME/bin"
|
&& bundle config --global bin "$GEM_HOME/bin" \
|
||||||
|
&& bundle config --global silence_root_warning true
|
||||||
|
|
||||||
# don't create ".bundle" in all our apps
|
# don't create ".bundle" in all our apps
|
||||||
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
||||||
|
|
|
@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2
|
||||||
|
|
||||||
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
||||||
&& bundle config --global path "$GEM_HOME" \
|
&& bundle config --global path "$GEM_HOME" \
|
||||||
&& bundle config --global bin "$GEM_HOME/bin"
|
&& bundle config --global bin "$GEM_HOME/bin" \
|
||||||
|
&& bundle config --global silence_root_warning true
|
||||||
|
|
||||||
# don't create ".bundle" in all our apps
|
# don't create ".bundle" in all our apps
|
||||||
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
||||||
|
|
|
@ -3,6 +3,8 @@ FROM ruby:2.3
|
||||||
# throw errors if Gemfile has been modified since Gemfile.lock
|
# throw errors if Gemfile has been modified since Gemfile.lock
|
||||||
RUN bundle config --global frozen 1
|
RUN bundle config --global frozen 1
|
||||||
|
|
||||||
|
RUN bundle config --global silence_root_warning true
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/app
|
RUN mkdir -p /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2
|
||||||
|
|
||||||
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
RUN gem install bundler --version "$BUNDLER_VERSION" \
|
||||||
&& bundle config --global path "$GEM_HOME" \
|
&& bundle config --global path "$GEM_HOME" \
|
||||||
&& bundle config --global bin "$GEM_HOME/bin"
|
&& bundle config --global bin "$GEM_HOME/bin" \
|
||||||
|
&& bundle config --global silence_root_warning true
|
||||||
|
|
||||||
# don't create ".bundle" in all our apps
|
# don't create ".bundle" in all our apps
|
||||||
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
ENV BUNDLE_APP_CONFIG $GEM_HOME
|
||||||
|
|
Loading…
Reference in a new issue