Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bacongobbler/d9d9ab43ac543a113e57d8bd023514f7 to your computer and use it in GitHub Desktop.
Save bacongobbler/d9d9ab43ac543a113e57d8bd023514f7 to your computer and use it in GitHub Desktop.
><> docker run -it golang bash
root@d8b9123c7249:/go# cd src/
root@d8b9123c7249:/go/src# mkdir k8s.io
root@d8b9123c7249:/go/src# cd k8s.io/
root@d8b9123c7249:/go/src/k8s.io# git clone https://github.com/kubernetes/helm
Cloning into 'helm'...
remote: Counting objects: 20430, done.
remote: Total 20430 (delta 0), reused 0 (delta 0), pack-reused 20429
Receiving objects: 100% (20430/20430), 7.40 MiB | 14.12 MiB/s, done.
Resolving deltas: 100% (12841/12841), done.
Checking connectivity... done.
root@d8b9123c7249:/go/src/k8s.io# cd helm/
root@d8b9123c7249:/go/src/k8s.io/helm# make bootstrap
make: glide: Command not found
go get -u github.com/Masterminds/glide
go get -u github.com/mitchellh/gox
glide install --strip-vendor
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching bitbucket.org/ww/goautoneg
[INFO] --> Fetching cloud.google.com/go
[INFO] --> Fetching github.com/aokoli/goutils
[INFO] --> Fetching github.com/asaskevich/govalidator
[INFO] --> Fetching github.com/Azure/go-ansiterm
[INFO] --> Fetching github.com/chai2010/gettext-go
[INFO] --> Fetching github.com/BurntSushi/toml
[INFO] --> Fetching github.com/coreos/go-oidc
[INFO] --> Fetching github.com/beorn7/perks
[...]
[INFO] --> Exporting k8s.io/kubernetes
[INFO] Replacing existing vendor dependencies
[INFO] Removing nested vendor and Godeps/_workspace directories...
[INFO] Removing: /go/src/k8s.io/helm/vendor/github.com/cpuguy83/go-md2man/vendor
[INFO] Removing: /go/src/k8s.io/helm/vendor/github.com/docker/distribution/vendor
[INFO] Removing: /go/src/k8s.io/helm/vendor/github.com/docker/docker/vendor
[INFO] Removing: /go/src/k8s.io/helm/vendor/k8s.io/apimachinery/vendor
[INFO] Removing: /go/src/k8s.io/helm/vendor/k8s.io/apiserver/vendor
[INFO] Removing: /go/src/k8s.io/helm/vendor/k8s.io/client-go/vendor
[INFO] Removing: /go/src/k8s.io/helm/vendor/k8s.io/kubernetes/vendor
go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go
scripts/setup-apimachinery.sh
root@d8b9123c7249:/go/src/k8s.io/helm# make build
GOBIN=/go/src/k8s.io/helm/bin go install -tags '' -ldflags ' -X k8s.io/helm/pkg/version.GitCommit=72cd1464d2c403b64ab81c5d5144e700fa445bab -X k8s.io/helm/pkg/version.GitTreeState=clean' k8s.io/helm/cmd/...
root@d8b9123c7249:/go/src/k8s.io/helm# ls bin/
helm protoc-gen-go rudder tiller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment