Skip to content

Commit

Permalink
Change Java version
Browse files Browse the repository at this point in the history
  • Loading branch information
joonhaengHeo committed Jan 9, 2025
1 parent 53a0a12 commit a542473
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions integrations/docker/images/chip-cert-bins/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN set -x \
make \
net-tools \
ninja-build \
openjdk-8-jdk \
openjdk-11-jdk \
pkg-config \
python3 \
python3-dev \
Expand Down Expand Up @@ -302,7 +302,7 @@ COPY --from=chip-build-cert-bins /root/connectedhomeip/src/python_testing/requir
RUN pip install --break-system-packages -r /tmp/requirements.txt && rm /tmp/requirements.txt

# PIP requires MASON package compilation, which seems to require a JDK
RUN set -x && DEBIAN_FRONTEND=noninteractive apt-get update; apt-get install -fy openjdk-8-jdk
RUN set -x && DEBIAN_FRONTEND=noninteractive apt-get update; apt-get install -fy openjdk-11-jdk

RUN pip install --break-system-packages --no-cache-dir \
python_lib/obj/src/python_testing/matter_testing_infrastructure/chip-testing._build_wheel/chip_testing-*.whl \
Expand Down
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 Down
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
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ RUN set -x \
# - telnet
# - srecord
# For java builds:
# - openjdk-8-jdk
# - openjdk-11-jdk
RUN set -x \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \
zip \
expect \
telnet \
srecord \
openjdk-8-jdk \
openjdk-11-jdk \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& : # last line
Expand Down

0 comments on commit a542473

Please sign in to comment.