File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,15 @@ ENV KAFKA_HOME /opt/kafka_"$SCALA_VERSION"-"$KAFKA_VERSION"
11
11
RUN apt-get update && \
12
12
apt-get install -y zookeeper wget supervisor dnsutils && \
13
13
rm -rf /var/lib/apt/lists/* && \
14
- apt-get clean
15
-
16
- RUN wget -q http://apache.mirrors.spacedump.net/kafka/"$KAFKA_VERSION" /kafka_"$SCALA_VERSION" -"$KAFKA_VERSION" .tgz -O /tmp/kafka_"$SCALA_VERSION" -"$KAFKA_VERSION" .tgz && \
14
+ apt-get clean && \
15
+ wget -q http://apache.mirrors.spacedump.net/kafka/"$KAFKA_VERSION" /kafka_"$SCALA_VERSION" -"$KAFKA_VERSION" .tgz -O /tmp/kafka_"$SCALA_VERSION" -"$KAFKA_VERSION" .tgz && \
17
16
tar xfz /tmp/kafka_"$SCALA_VERSION" -"$KAFKA_VERSION" .tgz -C /opt && \
18
17
rm /tmp/kafka_"$SCALA_VERSION" -"$KAFKA_VERSION" .tgz
19
18
20
19
ADD scripts/start-kafka.sh /usr/bin/start-kafka.sh
21
20
22
21
# Supervisor config
23
- ADD supervisor/kafka.conf /etc/supervisor/conf.d/kafka.conf
24
- ADD supervisor/zookeeper.conf /etc/supervisor/conf.d/zookeeper.conf
22
+ ADD supervisor/kafka.conf supervisor/zookeeper.conf /etc/supervisor/conf.d/
25
23
26
24
# 2181 is zookeeper, 9092 is kafka
27
25
EXPOSE 2181 9092
You can’t perform that action at this time.
0 commit comments