diff --git a/build/docker/bin/Makefile b/build/docker/bin/Makefile index c73045ce..9111e24e 100644 --- a/build/docker/bin/Makefile +++ b/build/docker/bin/Makefile @@ -1,6 +1,6 @@ SHELL = /bin/bash VERSION ?= devel -GITCOMMIT = $(shell cd /src && git describe --always --dirty) +GITCOMMIT = $(shell cd /src && git config --global --add safe.directory /src && git describe --always --dirty) BUILDTIME = $(shell date --iso-8601=seconds) LDFLAGS := -X github.com/trezor/blockbook/common.version=$(VERSION) -X github.com/trezor/blockbook/common.gitcommit=$(GITCOMMIT) -X github.com/trezor/blockbook/common.buildtime=$(BUILDTIME) BLOCKBOOK_BASE := $(GOPATH)/src/github.com/trezor