Skip to content

Instantly share code, notes, and snippets.

@j-thepac
Last active April 8, 2023 17:36
Show Gist options
  • Save j-thepac/2ca13858cc665ab98e511edf511e6450 to your computer and use it in GitHub Desktop.
Save j-thepac/2ca13858cc665ab98e511edf511e6450 to your computer and use it in GitHub Desktop.
Kafka_Docker <not Working>
#Image to only DOwnload kafka
# docker-compse file to start zookeeper and broker is not ready !!!
FROM ibmjava
RUN apt-get update && \
apt-get install -y curl
RUN mkdir /tmp/kafka
RUN curl https://downloads.apache.org/kafka/3.2.0/kafka_2.12-3.2.0.tgz -o /tmp/kafka/kafka_2.12-3.2.0.tgz
RUN cd /tmp/kafka && \
tar -zxvf kafka_2.12-3.2.0.tgz && \
mv kafka_2.12-3.2.0 kafka && \
mv kafka /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment