diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e1b6172 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +capdctl +capd-manager +kind-test diff --git a/README.md b/README.md index 2add12a..278b672 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,16 @@ A sample is built and hosted at `gcr.io/kubernetes1-226021/capd-manager:latest` ### Building the binaries -Requires go with go modules. +Requires go 1.12+ with go modules. -* `go build ./cmd/...` -* `go build ./cmd/` +``` +# required if `cluster-api-provider-docker` was cloned into $GOPATH +export GO111MODULE=on +# build the binaries +go build ./cmd/capdctl +go build ./cmd/capd-manager +go build ./cmd/kind-test +``` ### Building the image