From 50bbf32cf011090b7ab561772fb87bc013ce72b7 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Wed, 28 Feb 2024 18:16:41 +0200 Subject: [PATCH] Add GOLANGCI_LINT_CACHE to docker make targets Signed-off-by: Evan Lezar --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index e232e9e9..629b978b 100644 --- a/Makefile +++ b/Makefile @@ -110,6 +110,7 @@ $(DOCKER_TARGETS): docker-%: --rm \ -e GOCACHE=/tmp/.cache/go \ -e GOMODCACHE=/tmp/.cache/gomod \ + -e GOLANGCI_LINT_CACHE=/tmp/.cache/golangci-lint \ -v $(PWD):/work \ -w /work \ --user $$(id -u):$$(id -g) \ @@ -124,6 +125,7 @@ PHONY: .shell -ti \ -e GOCACHE=/tmp/.cache/go \ -e GOMODCACHE=/tmp/.cache/gomod \ + -e GOLANGCI_LINT_CACHE=/tmp/.cache/golangci-lint \ -v $(PWD):/work \ -w /work \ --user $$(id -u):$$(id -g) \