]> cat aescling's git repositories - mastodon.git/commitdiff
Save bundle config as local (#17188)
authorJeong Arm <kjwonmail@gmail.com>
Sat, 25 Dec 2021 21:52:24 +0000 (06:52 +0900)
committerGitHub <noreply@github.com>
Sat, 25 Dec 2021 21:52:24 +0000 (22:52 +0100)
Some bundle options are saved as global user config and not project local.
Specially, `deployment` must be saved as local config to be run on copied environment

Dockerfile

index 309ec06f4dfd13dc03c6c1ccde8a1ccf72f2ea52..590b6eddfff6e8512d107e94f976784413f5f44b 100644 (file)
@@ -56,8 +56,8 @@ RUN npm install -g npm@latest && \
 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 --local deployment 'true' && \
+  bundle config set --local without 'development test' && \
   bundle config set silence_root_warning true && \
        bundle install -j"$(nproc)" && \
        yarn install --pure-lockfile