mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 05:56:45 +01:00
.dockerignore, internal/build: Read git information directly from file (#15458)
* .dockerignore, internal/build: Read git information directly from file This commit changes the way of retrieving git commit and branch for build environment from running git command to reading git files directly. This commit also adds required git files into Docker build context. fixes: #15346 * .dockerignore: workaround for including some files in .git
This commit is contained in:
committed by
Péter Szilágyi
parent
86f6568f66
commit
f47adc9ea8
@@ -1,4 +1,7 @@
|
||||
**/.git
|
||||
/.git
|
||||
!/.git/HEAD
|
||||
!/.git/refs/heads
|
||||
**/*_test.go
|
||||
|
||||
build/_workspace
|
||||
|
||||
Reference in New Issue
Block a user