From 7486cd9e33cc48cd24e8c79bc64ccd254e437b5b Mon Sep 17 00:00:00 2001 From: Andress Barajas Date: Thu, 14 Nov 2024 22:46:01 -0800 Subject: [PATCH] Speed up cloning repo Speeds up cloning repo by using --depht=1 to fetch latest commit only --- utils/dc-chain/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/dc-chain/docker/Dockerfile b/utils/dc-chain/docker/Dockerfile index a89562e589..9214714bf5 100644 --- a/utils/dc-chain/docker/Dockerfile +++ b/utils/dc-chain/docker/Dockerfile @@ -37,7 +37,7 @@ RUN apk --update add --no-cache \ ARG dc_chain=stable ARG makejobs=2 RUN mkdir -p /opt/toolchains/dc \ - && git clone https://github.com/KallistiOSUnchained/KallistiOS.git /opt/toolchains/dc/kos \ + && git clone --depth=1 https://github.com/KallistiOSUnchained/KallistiOS.git /opt/toolchains/dc/kos \ && cd /opt/toolchains/dc/kos/utils/dc-chain \ && make build toolchain_profile=$dc_chain makejobs=$makejobs \ && rm -rf /opt/toolchains/dc/kos