From 67b5deae600b0913607c6bccaa9d0cf58eb7e785 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Wed, 26 Jul 2017 05:38:32 +0200 Subject: [PATCH] How does a caller know how to override log4j.properties? --- kafka/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kafka/Dockerfile b/kafka/Dockerfile index 98059a1..1daa0af 100644 --- a/kafka/Dockerfile +++ b/kafka/Dockerfile @@ -29,7 +29,10 @@ RUN set -ex; \ sed -i 's|base_dir=$(dirname $0)|base_dir=/opt/kafka/bin|' /usr/local/bin/*; \ \ mv -v ./config /etc/kafka; \ - ln -sv /etc/kafka ./config; + ln -sv /etc/kafka ./config; \ + \ + grep 'Dlog4j.configuration' /usr/local/bin/* /opt/kafka/bin/kafka-run-class.sh; + COPY docker-help.sh /usr/local/bin/docker-help ENTRYPOINT ["docker-help"]