diff --git a/CHANGELOG.md b/CHANGELOG.md index 045dd47..3f29de9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ No changes yet. +## 0.10.2.0 - 25 February, 2017 + +- Update to Kafka 0.10.2.0 + +## 0.10.1.1 - 12 January, 2017 + +- Update to Kafka 0.10.1.1 + ## 0.10.1.0 - 27 October, 2016 - Update to Kafka 0.10.1.0 ([xrl], #25) diff --git a/Dockerfile b/Dockerfile index eb4acd3..e124d5e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Builds an image for Apache Kafka 0.8.1.1 from binary distribution. +# Builds an image for Apache Kafka 0.10.2.0 from binary distribution. # # The netflixoss/java base image runs Oracle Java 7 installed atop the # ubuntu:trusty (14.04) official image. Docker's official java images are @@ -10,7 +10,7 @@ FROM netflixoss/java:8 MAINTAINER Ches Martin # The Scala 2.11 build is currently recommended by the project. -ENV KAFKA_VERSION=0.10.1.0 KAFKA_SCALA_VERSION=2.11 JMX_PORT=7203 +ENV KAFKA_VERSION=0.10.2.0 KAFKA_SCALA_VERSION=2.11 JMX_PORT=7203 ENV KAFKA_RELEASE_ARCHIVE kafka_${KAFKA_SCALA_VERSION}-${KAFKA_VERSION}.tgz RUN mkdir /kafka /data /logs diff --git a/docker_build.sh b/docker_build.sh new file mode 100755 index 0000000..3ac8d7c --- /dev/null +++ b/docker_build.sh @@ -0,0 +1 @@ +docker build -t kukaatx/ches-kafka . \ No newline at end of file diff --git a/docker_push.sh b/docker_push.sh new file mode 100755 index 0000000..02426b0 --- /dev/null +++ b/docker_push.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# +# Pushes the Docker image to the registry. +# +# Note you must log in and authenticate with the Docker registry +# before using this script. To do that, say: +# +# docker login $DOCKER_REGISTRY +# + +# Change this to your Docker image name. +DOCKER_IMAGE='kukaatx/ches-kafka' +VERSION='0.10.2.0-0' + +if [ -z "$DOCKER_REGISTRY" ]; then + echo "You must set DOCKER_REGISTRY to the host of the Docker registry you are using. If you want to use DockerHub (the default), that is index.docker.io." + exit -1 +fi + +docker tag $DOCKER_IMAGE $DOCKER_REGISTRY/$DOCKER_IMAGE:$VERSION || exit 1 +docker push $DOCKER_REGISTRY/$DOCKER_IMAGE:$VERSION +