From 672988d0bbd1b36c195de74d3e87f23337654ac0 Mon Sep 17 00:00:00 2001 From: Seonpyo Kim Date: Wed, 24 Apr 2019 20:42:05 +0900 Subject: [PATCH 1/2] Remove .git from .dockerignore option To get commithash successfully from the rpc "commithash" when using the released client as a docker image, removed .git from .dockerignore option. I checked there's no .git file in the final released image so it's safe to apply. --- .dockerignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 98fc308af1..a04d701392 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,3 @@ -/.git/ /.idea/ /target/ /keys/ From 5dbe1ca4339727f4fee850f3083dbc9407c829be Mon Sep 17 00:00:00 2001 From: Seonpyo Kim Date: Wed, 24 Apr 2019 20:48:00 +0900 Subject: [PATCH 2/2] Add files to the .dockerignore The file keystore.db and the files under the test directory would not be used in building docker image. Therefore those files are excluded from building. --- .dockerignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index a04d701392..519a602d76 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,4 +2,6 @@ /target/ /keys/ /db/ -/docker/ \ No newline at end of file +/docker/ +/keystore.db +/test/ \ No newline at end of file