2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00

Merge pull request #508 from PeterDaveHello/patch-1

Set git clone depth to 1 in build/bench/Dockerfile
This commit is contained in:
Revant Nandgaonkar 2021-08-09 21:09:01 +05:30 committed by GitHub
commit 7fc0f06610
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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