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 d3ab662 commit 0f49470Copy full SHA for 0f49470
Makefile
@@ -35,7 +35,12 @@ ifneq ($(sys),)
35
BUILD_SYSTEM = $(sys)
36
endif
37
38
-DOCKER_TOOLS = docker run -v $$(pwd):/build chantools-tools
+DOCKER_TOOLS = docker run \
39
+ --rm \
40
+ -v $(shell bash -c "go env GOCACHE || (mkdir -p /tmp/go-cache; echo /tmp/go-cache)"):/tmp/build/.cache \
41
+ -v $(shell bash -c "go env GOMODCACHE || (mkdir -p /tmp/go-modcache; echo /tmp/go-modcache)"):/tmp/build/.modcache \
42
+ -v $(shell bash -c "mkdir -p /tmp/go-lint-cache; echo /tmp/go-lint-cache"):/root/.cache/golangci-lint \
43
+ -v $$(pwd):/build chantools-tools
44
45
TEST_FLAGS = -test.timeout=20m
46
0 commit comments