diff --git a/Dockerfile b/Dockerfile index ac6e3af..e7f0a51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,7 +58,8 @@ RUN urpmi --force wget && mkdir -p $( dirname ${KAFKA_HOME}) \ && wget -q -O- ${KAFKA_DOWNLOAD_URL} | tar xzf - -C $( dirname ${KAFKA_HOME}) \ && mv ${KAFKA_HOME}* ${KAFKA_HOME} \ - && sed -i "s%^log.dirs=/tmp/kraft-combined-logs%log.dirs=${KAFKA_LIB}%" ${KAFKA_CONFIG} \ + && sed -i "s%^advertised.listeners=%#advertised.listeners=%" ${KAFKA_CONFIG} \ + && sed -i "s%^log.dirs=/tmp/kraft-combined-logs%log.dirs=${KAFKA_LIB}%" ${KAFKA_CONFIG} \ && ln -s ${KAFKA_LOG} ${KAFKA_HOME}/logs \ && echo -e "${KAFKAD}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/kafkad \ && chmod a+x /etc/init.d/kafkad \