]> cat aescling's git repositories - mastodon.git/commitdiff
add bundle flag to suppress root warning (#16557)
authorDavid Sterry <davesterry@gmail.com>
Thu, 14 Oct 2021 19:00:38 +0000 (12:00 -0700)
committerGitHub <noreply@github.com>
Thu, 14 Oct 2021 19:00:38 +0000 (21:00 +0200)
Dockerfile

index 0b88b49a8e98a906ad0aa426a5a9f0e590e44d0e..ab29e79b856b64e368bfee7d70e32bb7c9209b32 100644 (file)
@@ -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