Skip to content

Commit

Permalink
Update Dockerfile for updating java version (Java 8 -> Java 11) (#37130)
Browse files Browse the repository at this point in the history
* Update Dockerfile for updating java version

* Update version file
  • Loading branch information
joonhaengHeo authored Jan 21, 2025
1 parent 8370039 commit 6095962
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integrations/docker/images/base/chip-build/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
98 : [nrfconnect] Update nRF Connect SDK version.
99 : Update Dockerfile for updating java version (Java 8 -> Java 11)
4 changes: 2 additions & 2 deletions integrations/docker/images/stage-2/chip-build-java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.source /~https://github.com/project-chip/connectedh
RUN set -x \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy \
openjdk-8-jdk \
openjdk-11-jdk \
&& rm -rf /var/lib/apt/lists/ \
&& : # last line

Expand All @@ -20,4 +20,4 @@ RUN set -x \
&& : # last line

ENV PATH $PATH:/usr/lib/kotlinc/bin
ENV JAVA_PATH=/usr/lib/jvm/java-8-openjdk-amd64
ENV JAVA_PATH=/usr/lib/jvm/java-11-openjdk-amd64
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LABEL org.opencontainers.image.source /~https://github.com/project-chip/connectedh
RUN set -x \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy \
openjdk-8-jdk \
openjdk-11-jdk \
rsync \
swig \
&& rm -rf /var/lib/apt/lists/ \
Expand Down

0 comments on commit 6095962

Please sign in to comment.