Open mitjat opened 4 years ago
When building the services for our docker image (https://github.com/oasislabs/private-parcel/pull/1220/commits/2b88246540d4d0600e5bd933983667005bba645f), the .git dir is not available. It is too costly to copy the whole .git dir into docker scope, as it breaks docker's caching. But we can copy just the master ref, and pick it up with the addition from this PR.
When building the services for our docker image (https://github.com/oasislabs/private-parcel/pull/1220/commits/2b88246540d4d0600e5bd933983667005bba645f), the .git dir is not available. It is too costly to copy the whole .git dir into docker scope, as it breaks docker's caching. But we can copy just the master ref, and pick it up with the addition from this PR.