Set clone depth=1 to speedup the cloning of home-assistant/core (#472)

This commit is contained in:
Bas Nijholt 2023-03-26 18:38:20 -07:00 committed by GitHub
commit 87af937f41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ RUN apt-get update && \
&& rm -rf /var/lib/apt/lists/*
# Clone home-assistant/core
RUN git clone https://github.com/home-assistant/core.git /core
RUN git clone --depth 1 https://github.com/home-assistant/core.git /core
# Install home-assistant/core dependencies
RUN pip3 install -r /core/requirements.txt --use-pep517 && \