Need to `force` on bunlde when using `clean`.

This commit is contained in:
Jeffrey Martin 2020-01-09 11:28:43 -06:00
parent 8e4ddf1b2b
commit c169598819
No known key found for this signature in database
GPG Key ID: 0CD9BBC2AF15F171
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ RUN apk add --no-cache \
git \
&& echo "gem: --no-document" > /etc/gemrc \
&& gem update --system 3.0.6 \
&& bundle install --clean --no-cache --system $BUNDLER_ARGS \
&& bundle install --force --clean --no-cache --system $BUNDLER_ARGS \
# temp fix for https://github.com/bundler/bundler/issues/6680
&& rm -rf /usr/local/bundle/cache \
# needed so non root users can read content of the bundle