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.
1 parent 28e5880 commit fb349a1Copy full SHA for fb349a1
Makefile
@@ -28,7 +28,12 @@ ifneq ($(workers),)
28
LINT_WORKERS = --concurrency=$(workers)
29
endif
30
31
-DOCKER_TOOLS = docker run -v $$(pwd):/build lndclient-tools
+DOCKER_TOOLS = docker run \
32
+ --rm \
33
+ -v $(shell bash -c "$(GOCC) env GOCACHE || (mkdir -p /tmp/go-cache; echo /tmp/go-cache)"):/tmp/build/.cache \
34
+ -v $(shell bash -c "$(GOCC) env GOMODCACHE || (mkdir -p /tmp/go-modcache; echo /tmp/go-modcache)"):/tmp/build/.modcache \
35
+ -v $(shell bash -c "mkdir -p /tmp/go-lint-cache; echo /tmp/go-lint-cache"):/root/.cache/golangci-lint \
36
+ -v $$(pwd):/build lndclient-tools
37
38
GREEN := "\\033[0;32m"
39
NC := "\\033[0m"
0 commit comments