dockerfiles
dockerfiles copied to clipboard
Start scripts without ./bin and .sh, config mount at /etc/kafka
This is inspired by the Confluent Platform images. Without this change, users of the image would settle for the ./bin and ./config conventions. Mounted config would sit at /opt/kafka/config or chose a path such as /etc/kafka AND set KAFKA_LOG4J_OPTS to for example -D/etc/kafka/log4j.properties.
This fix will not use any additional space if we restore the symlinks from before 72b35da and move the RUN into the kafka installation step.
Explains the log4j.properties gotcha quite well: https://stackoverflow.com/questions/43823833/kafka-with-server-properties-not-picking-log4j