From 6206d8e79b55138d1483c561997bc0e17f9c7551 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Wed, 5 Aug 2020 03:05:36 +0000 Subject: [PATCH] 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 --- .dockerignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 151898ca7dc..37c2b8932a3 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,4 +2,3 @@ tests/ef_tests/eth2.0-spec-tests target/ *.data *.tar.gz -.git