aboutsummaryrefslogtreecommitdiff
path: root/docker/macros.j2
diff options
context:
space:
mode:
Diffstat (limited to 'docker/macros.j2')
-rw-r--r--docker/macros.j26
1 files changed, 5 insertions, 1 deletions
diff --git a/docker/macros.j2 b/docker/macros.j2
index 533a14aa5..6a0fdb568 100644
--- a/docker/macros.j2
+++ b/docker/macros.j2
@@ -110,7 +110,11 @@ RUN apt-get update \
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] -%}
RUN ulimit -n 65536 && gem install --minimal-deps {{ plugins | join(' ') }}
{%- elif base_distro in ['debian', 'ubuntu'] -%}
- RUN ulimit -n 65536 && td-agent-gem install {{ plugins | join(' ') }}
+ {% if base_arch == 'x86_64' %}
+ RUN ulimit -n 65536 && td-agent-gem install {{ plugins | join(' ') }}
+ {% else %}
+ RUN ulimit -n 65536 && gem install --minimal-deps {{ plugins | join(' ') }}
+ {% endif %}
{%- endif %}
{%- endif %}
{%- endmacro %}