Re: git caching for image build

2018-03-09 Thread Patrick Hemmer
So just to close the loop on this, I ran across https://github.com/openshift/origin/tree/master/examples/gitserver which seems to solve this issue rather well. This provides a service which acts as a caching proxy to the real git repo. It doesn't work quite as documented due to OpenShift's

git caching for image build

2018-03-06 Thread Patrick Hemmer
Is there a way to implement some sort of git cache when building images? When working locally (via minishift), on some of our projects the `git clone` step of the build takes quite a while, especially over slow links. This is compounded by the fact that we're using build chaining, a "builder"