From 1bd76072c4e5488d4feceb965dac8b2e2a63edf8 Mon Sep 17 00:00:00 2001 From: Salvatore Ingala <6681844+bigspider@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:36:25 +0100 Subject: [PATCH] Shallow clone in custom image builder --- .github/workflows/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile index 281a375c7..93dad7e5c 100644 --- a/.github/workflows/Dockerfile +++ b/.github/workflows/Dockerfile @@ -11,7 +11,7 @@ RUN apt install -y automake autotools-dev bsdmainutils build-essential ccache gi # clone bitcoin-core from github and compile it RUN cd / && \ - git clone https://github.com/bitcoin/bitcoin.git && \ + git clone --depth=1 https://github.com/bitcoin/bitcoin.git && \ cd bitcoin && \ ./autogen.sh && \ ./configure --enable-suppress-external-warnings && \