mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'feature/idf_docker_updates' into 'master'
Docker image improvements Closes IDFGH-2559 See merge request espressif/esp-idf!7454
This commit is contained in:
commit
37edc8f6e9
@ -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,14 @@ 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
|
||||||
|
|
||||||
|
# Ccache is installed, enable it by default
|
||||||
|
ENV IDF_CCACHE_ENABLE=1
|
||||||
|
|
||||||
COPY entrypoint.sh /opt/esp/entrypoint.sh
|
COPY entrypoint.sh /opt/esp/entrypoint.sh
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user