oasislabs / oasis-cli

Build tool for the Oasis platform
Apache License 2.0
0 stars 1 forks source link

Git version SHA: fall back to reading from file #160

Open mitjat opened 4 years ago

mitjat commented 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.