Set git clone depth to 1 in build/bench/Dockerfile

Looks like it's done in the other Dockerfiles
This commit is contained in:
Peter Dave Hello
2021-08-09 16:13:05 +08:00
committed by GitHub
parent 911c4ca6ce
commit 08442253c8

View File

@@ -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