fluentd: pin yajl-ruby 1.4.1 as we have old Ruby (!x86-64 only)

The last version of yajl-ruby (~> 1.0) to support your Ruby & RubyGems was 1.4.1.
Try installing it with `gem install yajl-ruby -v 1.4.1` and then running the current command again
yajl-ruby requires Ruby version >= 2.6.0. The current ruby version is 2.5.0.

Change-Id: If71fdcb4c6fb586a6fcc988eb9ab6740b94de44f
This commit is contained in:
Marcin Juszkiewicz 2022-04-20 13:37:53 +02:00
parent cdb9d2e512
commit 13b4506b8e
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ LABEL fluentd_version="0.14" fluentd_binary="td-agent"
# Distro specific files and operations
# Fluentd on rpm-based non-x86_64 is installed from rpm
{% if base_package_type == 'deb' and base_arch != 'x86_64' %}
RUN /usr/bin/gem install fluentd --no-rdoc --no-ri
RUN /usr/bin/gem install yajl-ruby:"<=1.4.1" fluentd --no-rdoc --no-ri
{% endif %}
COPY fluentd_sudoers /etc/sudoers.d/kolla_fluentd_sudoers