From 87af937f41a002591886bcedab86d21a9e5e245a Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Sun, 26 Mar 2023 18:38:20 -0700 Subject: [PATCH] Set clone depth=1 to speedup the cloning of home-assistant/core (#472) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e45da74c..48a24fe2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \