Skip to content

Commit

Permalink
Merge pull request #770 from vrothberg/vendor-in-container
Browse files Browse the repository at this point in the history
make vendor-in-container
  • Loading branch information
vrothberg authored Nov 26, 2019
2 parents 34ab4c4 + 88fd117 commit 912b7e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all binary build-container docs docs-in-container build-local clean install install-binary install-completions shell test-integration .install.vndr vendor
.PHONY: all binary build-container docs docs-in-container build-local clean install install-binary install-completions shell test-integration .install.vndr vendor vendor-in-container

export GOPROXY=https://proxy.golang.org

Expand Down Expand Up @@ -182,3 +182,6 @@ vendor:
$(GO) mod tidy && \
$(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.13 make vendor

0 comments on commit 912b7e1

Please sign in to comment.