Use `--depth` flag to `git clone` in Dockerfiles, to save space (#1341)
Summary: optimize the git clone using --depth flag in term of size of clone and also in term's of time taken to fetch the files and commit history of whole repository . More detail can be found at blog https://www.atlassian.com/git/tutorials/big-repositories Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Pull Request resolved: https://github.com/facebook/infer/pull/1341 Reviewed By: da319 Differential Revision: D24917645 Pulled By: jvillard fbshipit-source-id: 6764fc971master
parent
49dc61b9c5
commit
9d49fd5c60
Loading…
Reference in new issue