From 08442253c87305bddb119ea0b237cc5ac02086f0 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Mon, 9 Aug 2021 16:13:05 +0800 Subject: [PATCH] Set git clone depth to 1 in build/bench/Dockerfile Looks like it's done in the other Dockerfiles --- build/bench/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/bench/Dockerfile b/build/bench/Dockerfile index 418693a4..d4c9d6d0 100644 --- a/build/bench/Dockerfile +++ b/build/bench/Dockerfile @@ -75,7 +75,7 @@ WORKDIR /home/frappe # Clone and install bench in the local user home directory # For development, bench source is located in ~/.bench -RUN git clone ${GIT_REPO} -b ${GIT_BRANCH} .bench \ +RUN git clone ${GIT_REPO} --depth 1 -b ${GIT_BRANCH} .bench \ && pip3 install --user -e .bench # Export python executables for Dockerfile