Skip to content

Commit

Permalink
jdk
Browse files Browse the repository at this point in the history
  • Loading branch information
chia7712 committed Mar 14, 2024
1 parent aa2d79e commit fa8a2b0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docker/build_deps_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ FROM ubuntu:23.10
# install tools
RUN apt-get update && apt-get install -y \
git \
openjdk-17-jdk \
openjdk-21-jdk \
wget \
unzip \
curl
Expand Down
2 changes: 1 addition & 1 deletion docker/start_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ RUN tar -xvf \$(find ./app/build/distributions/ -maxdepth 1 -type f -name app-*.
FROM ubuntu:23.10
# install tools
RUN apt-get update && apt-get install -y openjdk-17-jre
RUN apt-get update && apt-get install -y openjdk-21-jre
# copy astraea
COPY --from=build /opt/astraea /opt/astraea
Expand Down
4 changes: 2 additions & 2 deletions docker/start_broker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ RUN tar -zxvf \$(find ./core/build/distributions/ -maxdepth 1 -type f \( -iname
FROM ubuntu:23.10
# install tools
RUN apt-get update && apt-get install -y openjdk-17-jre
RUN apt-get update && apt-get install -y openjdk-21-jre
# copy kafka
COPY --from=build /opt/jmx_exporter /opt/jmx_exporter
Expand Down Expand Up @@ -136,7 +136,7 @@ WORKDIR /opt/kafka
FROM ubuntu:23.10
# install tools
RUN apt-get update && apt-get install -y openjdk-17-jre
RUN apt-get update && apt-get install -y openjdk-21-jre
# copy kafka
COPY --from=build /opt/jmx_exporter /opt/jmx_exporter
Expand Down
4 changes: 2 additions & 2 deletions docker/start_controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ RUN tar -zxvf \$(find ./core/build/distributions/ -maxdepth 1 -type f \( -iname
FROM ubuntu:23.10
# install tools
RUN apt-get update && apt-get install -y openjdk-17-jre
RUN apt-get update && apt-get install -y openjdk-21-jre
# copy kafka
COPY --from=build /opt/jmx_exporter /opt/jmx_exporter
Expand Down Expand Up @@ -122,7 +122,7 @@ WORKDIR /opt/kafka
FROM ubuntu:23.10
# install tools
RUN apt-get update && apt-get install -y openjdk-17-jre
RUN apt-get update && apt-get install -y openjdk-21-jre
# copy kafka
COPY --from=build /opt/jmx_exporter /opt/jmx_exporter
Expand Down
4 changes: 2 additions & 2 deletions docker/start_worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ RUN cp /tmp/astraea/connector/build/libs/astraea-*-all.jar /opt/kafka/libs/
FROM ubuntu:23.10
# install tools
RUN apt-get update && apt-get install -y openjdk-17-jre
RUN apt-get update && apt-get install -y openjdk-21-jre
# copy kafka
COPY --from=build /opt/kafka /opt/kafka
Expand Down Expand Up @@ -135,7 +135,7 @@ RUN cp /tmp/astraea/connector/build/libs/astraea-*-all.jar /opt/kafka/libs/
FROM ubuntu:23.10
# install tools
RUN apt-get update && apt-get install -y openjdk-17-jre
RUN apt-get update && apt-get install -y openjdk-21-jre
# copy kafka
COPY --from=build /opt/kafka /opt/kafka
Expand Down
2 changes: 1 addition & 1 deletion docker/start_zookeeper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RUN tar -zxvf apache-zookeeper-${VERSION}-bin.tar.gz -C /opt/zookeeper --strip-c
FROM ubuntu:23.10
# install tools
RUN apt-get update && apt-get install -y openjdk-17-jre
RUN apt-get update && apt-get install -y openjdk-21-jre
# copy zookeeper
COPY --from=build /opt/zookeeper /opt/zookeeper
Expand Down

0 comments on commit fa8a2b0

Please sign in to comment.