mirror of
https://github.com/esphome/esphome.git
synced 2026-09-20 03:28:41 +00:00
[docker] Install ccache in the image (#17157)
This commit is contained in:
+4
-1
@@ -17,8 +17,11 @@ RUN git config --system --add safe.directory "*" \
|
||||
# validate openocd-esp32 (it dynamically links libusb-1.0.so.0); without
|
||||
# it idf_tools.py rejects the openocd install with exit 127 and aborts
|
||||
# the whole framework setup.
|
||||
# ccache speeds up repeat ESP-IDF compiles (enabled via IDF_CCACHE_ENABLE);
|
||||
# ESP-IDF silently skips it when the binary isn't on PATH, so it must be
|
||||
# present in the image for the dashboard/Device Builder to benefit.
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends build-essential libusb-1.0-0 \
|
||||
&& apt-get install -y --no-install-recommends build-essential libusb-1.0-0 ccache \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||
|
||||
Reference in New Issue
Block a user