Skip to content

Commit

Permalink
Speed up cloning repo
Browse files Browse the repository at this point in the history
Speeds up cloning repo by using --depht=1 to fetch latest commit only
  • Loading branch information
andressbarajas committed Nov 15, 2024
1 parent a3d2e27 commit 7486cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/dc-chain/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7486cd9

Please sign in to comment.