about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorDavid Sterry <davesterry@gmail.com>2021-10-14 12:00:38 -0700
committerGitHub <noreply@github.com>2021-10-14 21:00:38 +0200
commitf68772fd6a019b1ff21fe89e87ab0626817e62bb (patch)
tree77f0c8fbbeffa05b445e0df8a254b8cc854049d5 /Dockerfile
parenta7e2e32d92ca1c46296a09f57d834e36307acce6 (diff)
add bundle flag to suppress root warning (#16557)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
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