docker build -t gree2/base .
-
use
anapsix/alpine-java
-
update and install
-
unzip
-
wget
-
curl
-
docker
-
jq
-
coreutils
-
-
setup env
KAFKA_VERSION
andSCALA_VERSION
-
kafka 0.10.0.0
-
scala 2.11
-
-
add
download-kafka.sh
to/tmp/
-
download and extract to /opt/
-
mount
/kafka
volume -
set env
KAFKA_HOME
-
add shell scripts
-
start-kafka.sh
-
broker-list.sh
-
create-topics.sh
-
-
start kafka use shell script
rebuild.sh
docker build -t gree2/zookeeper .