From c124cc6c9ec87a80ec0dc9f96bcfdb3b6ca3dc65 Mon Sep 17 00:00:00 2001 From: Rob Bavey Date: Tue, 16 Aug 2022 10:10:06 -0400 Subject: [PATCH] Remove the `chmod g+s` command from ironbank docker image (#14435) --- docker/templates/Dockerfile.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/templates/Dockerfile.j2 b/docker/templates/Dockerfile.j2 index c62dea9aa..78ad6746c 100644 --- a/docker/templates/Dockerfile.j2 +++ b/docker/templates/Dockerfile.j2 @@ -124,7 +124,8 @@ RUN \ mkdir /licenses/ && \ mv /usr/share/logstash/NOTICE.TXT /licenses/NOTICE.TXT && \ mv /usr/share/logstash/LICENSE.txt /licenses/LICENSE.txt && \ - find /usr/share/logstash -type d -exec chmod g+s {} \; && \ +{% if image_flavor != 'ironbank' -%} find /usr/share/logstash -type d -exec chmod g+s {} \; && \ +{% endif -%} ln -s /usr/share/logstash /opt/logstash {% if image_flavor != 'ironbank' -%}