We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c5ffbf commit 2a0a1e6Copy full SHA for 2a0a1e6
2 files changed
Dockerfile
@@ -18,6 +18,10 @@ ENV GOPRIVATE=github.com/telemetryflow/*
18
# Copy source code
19
COPY . .
20
21
+# Cleanup Cache
22
+RUN go clean -modcache -cache
23
+RUN rm -f go.sum
24
+
25
# Download dependencies
26
RUN go mod download
27
Makefile
@@ -98,6 +98,8 @@ deps-vendor: ## Vendor dependencies
98
deps-refresh: ## Refresh all dependencies (clean and re-download)
99
@echo "Refreshing dependencies..."
100
@rm -rf vendor go.sum
101
+ @echo "Clearing module cache..."
102
+ $(GOCMD) clean -modcache
103
$(GOMOD) download
104
$(GOMOD) tidy
105
$(GOMOD) verify
0 commit comments