Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / integrations / docker / images / chip-build-esp32 / Dockerfile
1 ARG VERSION=latest
2 FROM connectedhomeip/chip-build:${VERSION}
3
4 # Setup the ESP-IDF
5 RUN set -x \
6     && apt-get update \
7     && DEBIAN_FRONTEND=noninteractive apt-get install -y python libgcrypt20-dev \
8     && mkdir -p /opt/espressif \
9     && cd /opt/espressif \
10     && git clone --progress -b release/v4.2 https://github.com/espressif/esp-idf.git \
11     && cd esp-idf \
12     && git submodule update --init --progress \
13     && IDF_TOOLS_PATH=/opt/espressif/tools ./install.sh \
14     && : # last line
15
16 ENV IDF_PATH=/opt/espressif/esp-idf/
17 ENV IDF_TOOLS_PATH=/opt/espressif/tools