diff --git a/2.0/Dockerfile b/2.0/Dockerfile index 702c10dbb2..5cbeeb45f3 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/slim/Dockerfile b/2.0/slim/Dockerfile index 9f3190a9af..2a66bafdca 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 55c97bb25a..896221633a 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/slim/Dockerfile b/2.1/slim/Dockerfile index 585e8451b6..64a349b09e 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 a0dd8d753b..949757ef4d 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/slim/Dockerfile b/2.2/slim/Dockerfile index be69ba2bb3..0b5b83ef87 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 4d848354e2..c54f74b79b 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/slim/Dockerfile b/2.3/slim/Dockerfile index 4abb8ced35..5286086912 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