Ensure .git is copied into docker (#1462)

## Issue Addressed

- Resolves #1461 

## Proposed Changes

Copy the `.git` directory across when building docker so we can get commit information.

Unfortunately this means duplicating you `.git` directory which might be quite large (mine is >100mb). Notably this directory isn't contained in the final image, just the intermediate builder image.

## Additional Info

NA
This commit is contained in:
Paul Hauner 2020-08-05 03:05:36 +00:00
parent 5629126f45
commit 6206d8e79b

View File

@ -2,4 +2,3 @@ tests/ef_tests/eth2.0-spec-tests
target/
*.data
*.tar.gz
.git