From 44463081e2c8cf8ec4a3f2c74c8dc830378a4209 Mon Sep 17 00:00:00 2001 From: Romulo Quidute Filho <116586593+rquidute@users.noreply.github.com> Date: Thu, 29 Aug 2024 14:04:57 -0300 Subject: [PATCH] Add apps to chip cert bins image (#35207) * Add Apps to chip_cert_bins image * Minor fixes --- .../docker/images/chip-cert-bins/Dockerfile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/integrations/docker/images/chip-cert-bins/Dockerfile b/integrations/docker/images/chip-cert-bins/Dockerfile index 99b4f38a0caa2b..c386359c718ed5 100644 --- a/integrations/docker/images/chip-cert-bins/Dockerfile +++ b/integrations/docker/images/chip-cert-bins/Dockerfile @@ -193,6 +193,9 @@ RUN case ${TARGETPLATFORM} in \ --target linux-x64-energy-management-ipv6only \ --target linux-x64-microwave-oven-ipv6only \ --target linux-x64-rvc-ipv6only \ + --target linux-x64-fabric-bridge-rpc-ipv6only \ + --target linux-x64-fabric-admin-rpc-ipv6only \ + --target linux-x64-network-manager-ipv6only \ build \ && mv out/linux-x64-chip-tool-ipv6only-platform-mdns/chip-tool out/chip-tool \ && mv out/linux-x64-shell-ipv6only-platform-mdns/chip-shell out/chip-shell \ @@ -213,6 +216,9 @@ RUN case ${TARGETPLATFORM} in \ && mv out/linux-x64-energy-management-ipv6only/chip-energy-management-app out/chip-energy-management-app \ && mv out/linux-x64-microwave-oven-ipv6only/chip-microwave-oven-app out/chip-microwave-oven-app \ && mv out/linux-x64-rvc-ipv6only/chip-rvc-app out/chip-rvc-app \ + && mv out/linux-x64-fabric-bridge-rpc-ipv6only/fabric-bridge-app out/fabric-bridge-app \ + && mv out/linux-x64-fabric-admin-rpc-ipv6only/fabric-admin out/fabric-admin \ + && mv out/linux-x64-network-manager-ipv6only/matter-network-manager-app out/matter-network-manager-app \ ;; \ "linux/arm64")\ set -x \ @@ -237,6 +243,9 @@ RUN case ${TARGETPLATFORM} in \ --target linux-arm64-energy-management-ipv6only \ --target linux-arm64-microwave-oven-ipv6only \ --target linux-arm64-rvc-ipv6only \ + --target linux-arm64-fabric-bridge-rpc-ipv6only \ + --target linux-arm64-fabric-admin-rpc-ipv6only \ + --target linux-arm64-network-manager-ipv6only \ build \ && mv out/linux-arm64-chip-tool-ipv6only-platform-mdns/chip-tool out/chip-tool \ && mv out/linux-arm64-shell-ipv6only-platform-mdns/chip-shell out/chip-shell \ @@ -257,6 +266,9 @@ RUN case ${TARGETPLATFORM} in \ && mv out/linux-arm64-energy-management-ipv6only/chip-energy-management-app out/chip-energy-management-app \ && mv out/linux-arm64-microwave-oven-ipv6only/chip-microwave-oven-app out/chip-microwave-oven-app \ && mv out/linux-arm64-rvc-ipv6only/chip-rvc-app out/chip-rvc-app \ + && mv out/linux-arm64-fabric-bridge-rpc-ipv6only/fabric-bridge-app out/fabric-bridge-app \ + && mv out/linux-arm64-fabric-admin-rpc-ipv6only/fabric-admin out/fabric-admin \ + && mv out/linux-arm64-network-manager-ipv6only/matter-network-manager-app out/matter-network-manager-app \ ;; \ *) ;; \ esac @@ -290,6 +302,9 @@ COPY --from=chip-build-cert-bins /root/connectedhomeip/out/lit-icd-app lit-icd-a COPY --from=chip-build-cert-bins /root/connectedhomeip/out/chip-energy-management-app chip-energy-management-app COPY --from=chip-build-cert-bins /root/connectedhomeip/out/chip-microwave-oven-app chip-microwave-oven-app COPY --from=chip-build-cert-bins /root/connectedhomeip/out/chip-rvc-app chip-rvc-app +COPY --from=chip-build-cert-bins /root/connectedhomeip/out/fabric-bridge-app fabric-bridge-app +COPY --from=chip-build-cert-bins /root/connectedhomeip/out/fabric-admin fabric-admin +COPY --from=chip-build-cert-bins /root/connectedhomeip/out/matter-network-manager-app matter-network-manager-app # Stage 3.1: Setup the Matter Python environment COPY --from=chip-build-cert-bins /root/connectedhomeip/out/python_lib python_lib @@ -304,6 +319,6 @@ 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 install -fy openjdk-8-jdk +RUN set -x && DEBIAN_FRONTEND=noninteractive apt-get update; apt-get install -fy openjdk-8-jdk RUN pip install --break-system-packages --no-cache-dir python_lib/controller/python/chip*.whl