Skip to content

Instantly share code, notes, and snippets.

@auryn31
Created July 29, 2019 08:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save auryn31/6af146811196e880081ec1153ec5b49b to your computer and use it in GitHub Desktop.
Save auryn31/6af146811196e880081ec1153ec5b49b to your computer and use it in GitHub Desktop.
FROM ubuntu:19.10
RUN apt-get update
RUN apt -y install wget
RUN apt-get -y install default-jdk
RUN wget https://www-eu.apache.org/dist/kafka/2.2.0/kafka_2.12-2.2.0.tgz
RUN tar -xzf kafka_2.12-2.2.0.tgz
RUN rm kafka_2.12-2.2.0.tgz
COPY server.properties /kafka_2.12-2.2.0/config/server.properties
WORKDIR /kafka_2.12-2.2.0
CMD [ "bin/kafka-server-start.sh", "config/server.properties" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment