Skip to content

Commit

Permalink
Lets you mount your config at /etc/kafka and get your *log4j.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Jul 26, 2017
1 parent 5edcb95 commit 567d867
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kafka/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ RUN set -ex; \
sed -i 's|exec $(dirname $0)/kafka-run-class.sh |exec /opt/kafka/bin/kafka-run-class.sh |' /usr/local/bin/*; \
sed -i 's|base_dir=$(dirname $0)|base_dir=/opt/kafka/bin|' /usr/local/bin/*; \
\
echo "TODO how do we handle log4j.properties"; \
grep 'Dlog4j.configuration' /usr/local/bin/* /opt/kafka/bin/kafka-run-class.sh
mv -v ./config /etc/kafka; \
ln -sv /etc/kafka ./config;

COPY docker-help.sh /usr/local/bin/docker-help
ENTRYPOINT ["docker-help"]

0 comments on commit 567d867

Please sign in to comment.