From: David Sterry Date: Thu, 14 Oct 2021 19:00:38 +0000 (-0700) Subject: add bundle flag to suppress root warning (#16557) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=f68772fd6a019b1ff21fe89e87ab0626817e62bb;p=mastodon.git add bundle flag to suppress root warning (#16557) --- diff --git a/Dockerfile b/Dockerfile index 0b88b49a8..ab29e79b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,6 +56,7 @@ COPY Gemfile* package.json yarn.lock /opt/mastodon/ RUN cd /opt/mastodon && \ bundle config set deployment 'true' && \ bundle config set without 'development test' && \ + bundle config set silence_root_warning true && \ bundle install -j"$(nproc)" && \ yarn install --pure-lockfile