mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
21 lines
584 B
Plaintext
21 lines
584 B
Plaintext
ARG VERSION=latest
|
|
FROM connectedhomeip/chip-build-esp32:${VERSION} as build
|
|
|
|
WORKDIR /opt/espressif/connectedhomeip
|
|
ENV CHIP_PATH=/opt/espressif/connectedhomeip
|
|
|
|
RUN set -x \
|
|
&& git init \
|
|
&& git remote add origin https://github.com/project-chip/connectedhomeip.git \
|
|
&& git fetch origin --depth 1 87bee4de25886ba00f1a177cd0f8791a48528a1f \
|
|
&& git checkout FETCH_HEAD \
|
|
&& : # last line
|
|
|
|
RUN set -x \
|
|
&& scripts/checkout_submodules.py --platform esp32 --shallow \
|
|
&& : # last line
|
|
|
|
RUN set -x \
|
|
&& scripts/build/gn_bootstrap.sh \
|
|
&& : # last line
|