Skip to content

Commit

Permalink
架构优化
Browse files Browse the repository at this point in the history
  • Loading branch information
zhexiao committed Sep 17, 2019
1 parent 67fd554 commit 70c0c46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/Dockerfile-kafka
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM java-base:latest
EXPOSE 9092

# ENV
ENV KAFKA_VERSION=kafka_2.12-2.2.0
ENV KAFKA_VERSION=kafka_2.11-2.3.0

WORKDIR /kafka
ADD ./pkg/${KAFKA_VERSION}.tgz .
Expand Down
1 change: 1 addition & 0 deletions deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ $ docker run \

# Kafka
```
# 版本修改需要对应修改 Dockerfile-kafka
$ wget -P ./pkg http://mirrors.tuna.tsinghua.edu.cn/apache/kafka/2.3.0/kafka_2.11-2.3.0.tgz
$ docker build -t java-base -f Dockerfile-java-base .
Expand Down

0 comments on commit 70c0c46

Please sign in to comment.