jekyll: enforce ruby platform to compile gems with native extensions from source

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-11-04 19:16:13 +01:00
parent 29e169c2b5
commit df4abc6472
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ ARG BUNDLER_VERSION
COPY Gemfile* . COPY Gemfile* .
RUN gem uninstall -aIx bundler \ RUN gem uninstall -aIx bundler \
&& gem install bundler -v ${BUNDLER_VERSION} \ && gem install bundler -v ${BUNDLER_VERSION} \
&& bundle config set force_ruby_platform true \
&& bundle install --jobs 4 --retry 3 && bundle install --jobs 4 --retry 3
# Vendor Gemfile for Jekyll # Vendor Gemfile for Jekyll