Skip to content

Commit

Permalink
Use same installation path (and thus same bin and config path) as the…
Browse files Browse the repository at this point in the history
… debian based image
  • Loading branch information
solsson committed Jul 23, 2017
1 parent b7b5202 commit b0351f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kafka/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM openjdk:8u131-jre-alpine

ENV KAFKA_VERSION=0.11.0.0 SCALA_VERSION=2.12.2

RUN set -e; cd /usr/local; \
RUN set -e; mkdir -p /opt && cd /opt; \
GRADLE_VERSION=4.0 PATH=$PATH:$(pwd)/gradle-$GRADLE_VERSION/bin; \
apk add --no-cache --virtual .build-deps \
curl \
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN set -e; cd /usr/local; \

RUN apk add --no-cache bash

WORKDIR /usr/local/kafka
WORKDIR /opt/kafka
ENTRYPOINT ["bin/kafka-server-start.sh"]

RUN sed -i 's/zookeeper.connect=localhost:2181/zookeeper.connect=zookeeper:2181/' config/server.properties
Expand Down

0 comments on commit b0351f4

Please sign in to comment.