Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Dockerfile: bump Kafka -v & use Oxford mirror. #15

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@ kafka-console-consumer.sh --zookeeper $ZOOKEEPER --topic test

In the box
---
* **spotify/kafka**
* **pbxme/kafka**

The docker image with both Kafka and Zookeeper. Built from the `kafka`
directory.

Public Builds
---

https://registry.hub.docker.com/u/spotify/kafka/
https://registry.hub.docker.com/u/pbxme/kafka/

Build from Source
---

docker build -t spotify/kafka kafka/
docker build -t pbxme/kafka kafka/


Todo
---

* Not particularily optimzed for startup time.
* Not particularily optimised for startup time.
* Better docs

8 changes: 4 additions & 4 deletions kafka/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install -y zookeeper wget supervisor dnsutils && \
rm -rf /var/lib/apt/lists/* && \
wget -q http://apache.mirrors.spacedump.net/kafka/0.8.1.1/kafka_2.8.0-0.8.1.1.tgz -O /tmp/kafka_2.8.0-0.8.1.1.tgz && \
tar xfz /tmp/kafka_2.8.0-0.8.1.1.tgz -C /opt && \
rm /tmp/kafka_2.8.0-0.8.1.1.tgz
wget -q http://mirror.ox.ac.uk/sites/rsync.apache.org/kafka/0.8.2.1/kafka_2.9.1-0.8.2.1.tgz -O /tmp/kafka_2.9.1-0.8.2.1.tgz && \
tar xfz /tmp/kafka_2.9.1-0.8.2.1.tgz -C /opt && \
rm /tmp/kafka_2.9.1-0.8.2.1.tgz

ENV KAFKA_HOME /opt/kafka_2.8.0-0.8.1.1
ENV KAFKA_HOME /optkafka_2.9.1-0.8.2.1
ADD scripts/start-kafka.sh /usr/bin/start-kafka.sh

# Supervisor config
Expand Down