Skip to content

Commit

Permalink
Fix the requirements install - need to copy the dependencies locally
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed Aug 8, 2023
1 parent 4987447 commit 4dbe492
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions integrations/docker/images/chip-cert-bins/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,11 @@ COPY --from=chip-build-cert-bins /root/connectedhomeip/out/chip-app1 chip-app1
# Stage 3.1 Setup the Matter Python environment
COPY --from=chip-build-cert-bins /root/connectedhomeip/out/python_lib python_lib
COPY --from=chip-build-cert-bins /root/connectedhomeip/src/python_testing python_testing
RUN pip install -r /root/connectedhomeip/scripts/tests/requirements.txt
RUN pip install -r /root/connectedhomeip/src/python_testing/requirements.txt

COPY --from=chip-build-cert-bins /root/connectedhomeip/scripts/tests/requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt && rm /tmp/requirements.txt

COPY --from=chip-build-cert-bins /root/connectedhomeip/src/python_testing/requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt && rm /tmp/requirements.txt

RUN pip install --no-cache-dir python_lib/controller/python/chip*.whl

0 comments on commit 4dbe492

Please sign in to comment.