update kafka, update download link

This commit is contained in:
Newnius 2019-04-15 19:54:11 +08:00
parent 935402c7b7
commit fed0d6a0e9

View File

@ -6,7 +6,7 @@ MAINTAINER Newnius <newnius.cn@gmail.com>
RUN apk add --no-cache bash RUN apk add --no-cache bash
# Install Kafka # Install Kafka
RUN wget -O kafka.tgz http://us.mirrors.quenda.co/apache/kafka/2.1.0/kafka_2.11-2.1.0.tgz && \ RUN wget -O kafka.tgz https://archive.apache.org/dist/kafka/2.1.0/kafka_2.11-2.1.0.tgz && \
tar -xzf kafka.tgz -C /usr/local/ && rm kafka.tgz tar -xzf kafka.tgz -C /usr/local/ && rm kafka.tgz
RUN ln -s /usr/local/kafka_2.11-2.1.0 /usr/local/kafka RUN ln -s /usr/local/kafka_2.11-2.1.0 /usr/local/kafka