File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,12 @@ RUN apk add --update unzip wget curl docker jq coreutils
66
77ENV KAFKA_VERSION="0.10.1.0" SCALA_VERSION="2.11"
88ADD download-kafka.sh /tmp/download-kafka.sh
9- RUN chmod a+x /tmp/download-kafka.sh && sync && /tmp/download-kafka.sh && tar xfz /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz -C /opt && rm /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz
9+ RUN chmod a+x /tmp/download-kafka.sh && sync && /tmp/download-kafka.sh && tar xfz /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz -C /opt && rm /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz && ln -s /opt/kafka_${SCALA_VERSION}-${KAFKA_VERSION} /opt/kafka
1010
1111VOLUME ["/kafka" ]
1212
13- ENV KAFKA_HOME /opt/kafka_${SCALA_VERSION}-${KAFKA_VERSION}
13+ ENV KAFKA_HOME /opt/kafka
14+ ENV PATH ${PATH}:${KAFKA_HOME}/bin
1415ADD start-kafka.sh /usr/bin/start-kafka.sh
1516ADD broker-list.sh /usr/bin/broker-list.sh
1617ADD create-topics.sh /usr/bin/create-topics.sh
You can’t perform that action at this time.
0 commit comments