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/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/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/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/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