-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Improve ESP32 Docker image used by Build example - ESP32 work…
- Loading branch information
1 parent
46ea669
commit 7235568
Showing
2 changed files
with
10 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,17 @@ | ||
ARG VERSION=latest | ||
FROM connectedhomeip/chip-build:${VERSION} as build | ||
FROM connectedhomeip/chip-build:${VERSION} | ||
|
||
# Setup the ESP-IDF | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \ | ||
git=1:2.25.1-1ubuntu3.2 \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/ \ | ||
&& : # last line | ||
|
||
RUN set -x \ | ||
&& git clone --depth 1 --recursive -b v4.3 https://github.com/espressif/esp-idf.git /tmp/esp-idf \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y python libgcrypt20-dev \ | ||
&& mkdir -p /opt/espressif \ | ||
&& cd /opt/espressif \ | ||
&& git clone --progress -b v4.3 https://github.com/espressif/esp-idf.git \ | ||
&& cd esp-idf \ | ||
&& git submodule update --init --progress \ | ||
&& IDF_TOOLS_PATH=/opt/espressif/tools ./install.sh \ | ||
&& : # last line | ||
|
||
FROM connectedhomeip/chip-build:${VERSION} | ||
|
||
ENV IDF_PATH=/opt/espressif/esp-idf/ | ||
ENV IDF_TOOLS_PATH=/opt/espressif/tools | ||
|
||
COPY --from=build /tmp/esp-idf /opt/espressif/esp-idf | ||
|
||
# Setup the ESP-IDF | ||
WORKDIR /opt/espressif/esp-idf | ||
RUN set -x \ | ||
&& ./install.sh \ | ||
&& : # last line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.5.8 | ||
0.5.7 |