summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-11-05 17:40:33 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-11-06 16:22:17 +0100
commit16cb2b38a8a645039bc4e2e9443cde777d90537f (patch)
tree719daeb9563f609bb3caa2cee0d75fd6dcb38678
parent6f7c290f70dc42dc33dd65a8a6a42b08e83caae5 (diff)
downloadpodman-16cb2b38a8a645039bc4e2e9443cde777d90537f.tar.gz
podman-16cb2b38a8a645039bc4e2e9443cde777d90537f.tar.bz2
podman-16cb2b38a8a645039bc4e2e9443cde777d90537f.zip
Makefile: add vendor-in-container
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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 \