mirror of https://github.com/docker/docs.git
Merge pull request #16089 from crazy-max/gem-native
jekyll: enforce ruby platform to compile gems with native extensions from source
This commit is contained in:
commit
075c53a028
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue