Just find out a way to speed up the build of docker image for testing environment. We can use git clone <repo> --depth 1
to get the repo with latest copy only. In other words, no commit history is cloned.
It can speed up the git clone
, especially your project is big and with long history.