go-ethereum/.dockerignore
Arba Sasmoyo f47adc9ea8 .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
2017-11-12 22:00:18 +02:00

10 lines
101 B
Plaintext

**/.git
/.git
!/.git/HEAD
!/.git/refs/heads
**/*_test.go
build/_workspace
build/_bin
tests/testdata