We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6cef367 + 834371c commit 5f89a8bCopy full SHA for 5f89a8b
Makefile
@@ -63,7 +63,11 @@ ifneq ($(workers),)
63
LINT_WORKERS = --concurrency=$(workers)
64
endif
65
66
-DOCKER_TOOLS = docker run --rm -v $$(pwd):/build lnd-tools
+DOCKER_TOOLS = docker run \
67
+ --rm \
68
+ -v $(shell bash -c "go env GOCACHE || (mkdir -p /tmp/go-cache; echo /tmp/go-cache)"):/tmp/build/.cache \
69
+ -v $(shell bash -c "go env GOMODCACHE || (mkdir -p /tmp/go-modcache; echo /tmp/go-modcache)"):/tmp/build/.modcache \
70
+ -v $$(pwd):/build lnd-tools
71
72
GREEN := "\\033[0;32m"
73
NC := "\\033[0m"
0 commit comments