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 0d26875 + 0babeee commit bc09440Copy full SHA for bc09440
Makefile
@@ -34,7 +34,11 @@ ifneq ($(workers),)
34
LINT_WORKERS = --concurrency=$(workers)
35
endif
36
37
-DOCKER_TOOLS = docker run -v $$(pwd):/build loop-tools
+DOCKER_TOOLS = docker run \
38
+ --rm \
39
+ -v $(shell bash -c "go env GOCACHE || (mkdir -p /tmp/go-cache; echo /tmp/go-cache)"):/tmp/build/.cache \
40
+ -v $(shell bash -c "go env GOMODCACHE || (mkdir -p /tmp/go-modcache; echo /tmp/go-modcache)"):/tmp/build/.modcache \
41
+ -v $$(pwd):/build loop-tools
42
43
GREEN := "\\033[0;32m"
44
NC := "\\033[0m"
0 commit comments