docker: install tree in esp-matter image and not in chip image

This commit is contained in:
Shubham Patil
2024-05-23 10:00:36 +05:30
parent 48b60a73a8
commit b367003be3
+8 -8
View File
@@ -6,14 +6,6 @@ FROM ghcr.io/project-chip/chip-build:${VERSION} as build
ARG IDF_CLONE_URL=https://github.com/espressif/esp-idf.git
ARG IDF_CHECKOUT_REF=v5.1
RUN set -x \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \
tree \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& : # last line
RUN set -x \
&& mkdir -p /tmp/esp-idf \
&& cd /tmp/esp-idf \
@@ -58,6 +50,14 @@ RUN set -x \
&& ./install.sh \
&& : # last line
RUN set -x \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \
tree \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& : # last line
COPY entrypoint.sh /opt/esp/entrypoint.sh
ENTRYPOINT [ "/opt/esp/entrypoint.sh" ]
CMD [ "/bin/bash" ]