Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 508 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 508 Bytes

Docker-Govendor

Golang-alpine based image with govendor installed.

Example

# initialise the vendor folder
docker run --rm -it -v $PWD:/go/src/my-project -w /go/src/my-project trifs/govendor init

# add missing dependencies
docker run --rm -it -v $PWD:/go/src/my-project -w /go/src/my-project trifs/govendor fetch +missing

# remove unused dependencies
docker run --rm -it -v $PWD:/go/src/my-project -w /go/src/my-project trifs/govendor remove +unused