iron-io / dockerworker

The new IronWorker workflow examples. Test locally, then upload and start queuing jobs!
http://www.iron.io
232 stars 47 forks source link

Change Go example to not have to vendor #34

Open treeder opened 8 years ago

treeder commented 8 years ago

Something like this should work:

docker run --rm -it -v "$GOPATH":/go -w /go/src/github.com/YOURUSER/YOURREPO -e "GOPATH=/go" iron/go:dev go build

User must replace YOURUSER and YOURREPO, but easier than explaining vendoring.