tools/docker: install CMake version provided in tools.json

Closes https://github.com/espressif/esp-idf/issues/4644
Closes IDFGH-2559
This commit is contained in:
Ivan Grokhotkov 2020-01-24 19:11:56 +01:00
parent a55cd0e7f3
commit faf86f72fb

View file

@ -8,7 +8,6 @@ RUN apt-get update && apt-get install -y \
ca-certificates \ ca-certificates \
ccache \ ccache \
check \ check \
cmake \
curl \ curl \
flex \ flex \
git \ git \
@ -53,8 +52,11 @@ RUN echo IDF_CHECKOUT_REF=$IDF_CHECKOUT_REF IDF_CLONE_BRANCH_OR_TAG=$IDF_CLONE_B
git submodule update --init --recursive; \ git submodule update --init --recursive; \
fi fi
RUN $IDF_PATH/install.sh && \ # Install all the required tools, plus CMake
rm -rf $IDF_TOOLS_PATH/dist RUN $IDF_PATH/tools/idf_tools.py --non-interactive install required \
&& $IDF_PATH/tools/idf_tools.py --non-interactive install cmake \
&& $IDF_PATH/tools/idf_tools.py --non-interactive install-python-env \
&& rm -rf $IDF_TOOLS_PATH/dist
RUN mkdir -p $HOME/.ccache && \ RUN mkdir -p $HOME/.ccache && \
touch $HOME/.ccache/ccache.conf touch $HOME/.ccache/ccache.conf