aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/sensu/sensu-client/Dockerfile.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/sensu/sensu-client/Dockerfile.j2 b/docker/sensu/sensu-client/Dockerfile.j2
index 718f05b0c..ec6c39f58 100644
--- a/docker/sensu/sensu-client/Dockerfile.j2
+++ b/docker/sensu/sensu-client/Dockerfile.j2
@@ -46,6 +46,11 @@ RUN echo '{{ image_name }} not yet available for {{ base_distro }}' \
{% block sensu_clients_install %}
+{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
+# FIXME(mandre) Workaround for https://bugs.launchpad.net/kolla/+bug/1781434
+RUN gem install public_suffix:"~>2"
+{% endif %}
+
# Sensu plugins are all using semantic versioning.
# Let's cap them to the known major version that works with the ruby shipped on
# rhel/centos/oraclelinux (currently 2.0)