Skip to content

Commit

Permalink
Update contributing guide
Browse files Browse the repository at this point in the history
  • Loading branch information
font committed May 24, 2018
1 parent 123e075 commit 44638e1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,17 @@ Please see https://git.k8s.io/community/CLA.md for more info
Setup:

- Download [google container builder](https://cloud.google.com/container-builder/docs/build-debug-locally)
- Export `GOOS` (darwin/linux) and `GOARCH` (amd64) vars to match the system to build
- Export `OUTPUT` to a location to write the directory containing the final build artifacts

```sh
export GOOS=darwin
export GOARCH=amd64
export OUTPUT=/tmp/kubebuilder
```

Run container-builder:

```sh
container-builder-local --config=build/cloudbuild_local.yaml --dryrun=false \
--substitutions=_GOOS=$GOOS,_GOARCH=$GOARCH --write-workspace=$OUTPUT .
--write-workspace=$OUTPUT .
```

Extract `tar.gz` from $OUTPUT to /usr/local
Expand Down

0 comments on commit 44638e1

Please sign in to comment.