From 16cb2b38a8a645039bc4e2e9443cde777d90537f Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 5 Nov 2019 17:40:33 +0100 Subject: Makefile: add vendor-in-container Signed-off-by: Giuseppe Scrivano --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index feb8e0ca3..d0ee213c0 100644 --- a/Makefile +++ b/Makefile @@ -522,6 +522,9 @@ vendor: $(GO) mod vendor && \ $(GO) mod verify +vendor-in-container: + podman run --privileged --rm --env HOME=/root -v `pwd`:/src -w /src docker.io/library/golang:1.12 make vendor + .PHONY: \ .gopathok \ binaries \ -- cgit v1.2.3-54-g00ecf