From 2a262d6d4b46db2cf6192285c5be185234a84059 Mon Sep 17 00:00:00 2001 From: Elia Schito Date: Fri, 8 Jan 2016 13:04:16 +0100 Subject: [PATCH] Avoid warning about running Bundler as root fixes #10 --- onbuild/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/onbuild/Dockerfile b/onbuild/Dockerfile index 0e3b98fb03..e4a8393ad3 100644 --- a/onbuild/Dockerfile +++ b/onbuild/Dockerfile @@ -3,6 +3,9 @@ FROM ruby:2.2 # throw errors if Gemfile has been modified since Gemfile.lock RUN bundle config --global frozen 1 +# avoid warning about running Bundler as root +RUN bundle config --global silence_root_warning 1 + RUN mkdir -p /usr/src/app WORKDIR /usr/src/app