File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ RUN apt-get update && apt-get install -y \
8
8
ca-certificates \
9
9
ccache \
10
10
check \
11
- cmake \
12
11
curl \
13
12
flex \
14
13
git \
@@ -53,8 +52,14 @@ RUN echo IDF_CHECKOUT_REF=$IDF_CHECKOUT_REF IDF_CLONE_BRANCH_OR_TAG=$IDF_CLONE_B
53
52
git submodule update --init --recursive; \
54
53
fi
55
54
56
- RUN $IDF_PATH/install.sh && \
57
- rm -rf $IDF_TOOLS_PATH/dist
55
+ # Install all the required tools, plus CMake
56
+ RUN $IDF_PATH/tools/idf_tools.py --non-interactive install required \
57
+ && $IDF_PATH/tools/idf_tools.py --non-interactive install cmake \
58
+ && $IDF_PATH/tools/idf_tools.py --non-interactive install-python-env \
59
+ && rm -rf $IDF_TOOLS_PATH/dist
60
+
61
+ # Ccache is installed, enable it by default
62
+ ENV IDF_CCACHE_ENABLE=1
58
63
59
64
COPY entrypoint.sh /opt/esp/entrypoint.sh
60
65
You can’t perform that action at this time.
0 commit comments