diff --git a/2.0/Dockerfile b/2.0/Dockerfile index 702c10dbb..5cbeeb45f 100644 --- a/2.0/Dockerfile +++ b/2.0/Dockerfile @@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2 RUN gem install bundler --version "$BUNDLER_VERSION" \ && 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 ENV BUNDLE_APP_CONFIG $GEM_HOME diff --git a/2.0/onbuild/Dockerfile b/2.0/onbuild/Dockerfile index a3674dc3d..af2cb0bf3 100644 --- a/2.0/onbuild/Dockerfile +++ b/2.0/onbuild/Dockerfile @@ -3,6 +3,8 @@ FROM ruby:2.0 # throw errors if Gemfile has been modified since Gemfile.lock RUN bundle config --global frozen 1 +RUN bundle config --global silence_root_warning true + RUN mkdir -p /usr/src/app WORKDIR /usr/src/app diff --git a/2.0/slim/Dockerfile b/2.0/slim/Dockerfile index 9f3190a9a..2a66bafdc 100644 --- a/2.0/slim/Dockerfile +++ b/2.0/slim/Dockerfile @@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2 RUN gem install bundler --version "$BUNDLER_VERSION" \ && 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 ENV BUNDLE_APP_CONFIG $GEM_HOME diff --git a/2.1/Dockerfile b/2.1/Dockerfile index 55c97bb25..896221633 100644 --- a/2.1/Dockerfile +++ b/2.1/Dockerfile @@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2 RUN gem install bundler --version "$BUNDLER_VERSION" \ && 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 ENV BUNDLE_APP_CONFIG $GEM_HOME diff --git a/2.1/onbuild/Dockerfile b/2.1/onbuild/Dockerfile index 9a9bdb7b6..54a14538e 100644 --- a/2.1/onbuild/Dockerfile +++ b/2.1/onbuild/Dockerfile @@ -3,6 +3,8 @@ FROM ruby:2.1 # throw errors if Gemfile has been modified since Gemfile.lock RUN bundle config --global frozen 1 +RUN bundle config --global silence_root_warning true + RUN mkdir -p /usr/src/app WORKDIR /usr/src/app diff --git a/2.1/slim/Dockerfile b/2.1/slim/Dockerfile index 585e8451b..64a349b09 100644 --- a/2.1/slim/Dockerfile +++ b/2.1/slim/Dockerfile @@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2 RUN gem install bundler --version "$BUNDLER_VERSION" \ && 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 ENV BUNDLE_APP_CONFIG $GEM_HOME diff --git a/2.2/Dockerfile b/2.2/Dockerfile index a0dd8d753..949757ef4 100644 --- a/2.2/Dockerfile +++ b/2.2/Dockerfile @@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2 RUN gem install bundler --version "$BUNDLER_VERSION" \ && 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 ENV BUNDLE_APP_CONFIG $GEM_HOME diff --git a/2.2/onbuild/Dockerfile b/2.2/onbuild/Dockerfile index 1c90bfd92..4361756b9 100644 --- a/2.2/onbuild/Dockerfile +++ b/2.2/onbuild/Dockerfile @@ -3,6 +3,8 @@ FROM ruby:2.2 # throw errors if Gemfile has been modified since Gemfile.lock RUN bundle config --global frozen 1 +RUN bundle config --global silence_root_warning true + RUN mkdir -p /usr/src/app WORKDIR /usr/src/app diff --git a/2.2/slim/Dockerfile b/2.2/slim/Dockerfile index be69ba2bb..0b5b83ef8 100644 --- a/2.2/slim/Dockerfile +++ b/2.2/slim/Dockerfile @@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2 RUN gem install bundler --version "$BUNDLER_VERSION" \ && 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 ENV BUNDLE_APP_CONFIG $GEM_HOME diff --git a/2.3/Dockerfile b/2.3/Dockerfile index 4d848354e..c54f74b79 100644 --- a/2.3/Dockerfile +++ b/2.3/Dockerfile @@ -35,7 +35,8 @@ ENV BUNDLER_VERSION 1.11.2 RUN gem install bundler --version "$BUNDLER_VERSION" \ && 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 ENV BUNDLE_APP_CONFIG $GEM_HOME diff --git a/2.3/onbuild/Dockerfile b/2.3/onbuild/Dockerfile index 7accb9c59..c025094ee 100644 --- a/2.3/onbuild/Dockerfile +++ b/2.3/onbuild/Dockerfile @@ -3,6 +3,8 @@ FROM ruby:2.3 # throw errors if Gemfile has been modified since Gemfile.lock RUN bundle config --global frozen 1 +RUN bundle config --global silence_root_warning true + RUN mkdir -p /usr/src/app WORKDIR /usr/src/app diff --git a/2.3/slim/Dockerfile b/2.3/slim/Dockerfile index 4abb8ced3..528608691 100644 --- a/2.3/slim/Dockerfile +++ b/2.3/slim/Dockerfile @@ -63,7 +63,8 @@ ENV BUNDLER_VERSION 1.11.2 RUN gem install bundler --version "$BUNDLER_VERSION" \ && 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 ENV BUNDLE_APP_CONFIG $GEM_HOME