Skip to content

Commit

Permalink
Merge pull request #210 from font/contributing
Browse files Browse the repository at this point in the history
Update contributing guide to build successfully
  • Loading branch information
Phillip Wittrock committed May 25, 2018
2 parents 61742f4 + 44638e1 commit 69bb4ac
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 69bb4ac

Please sign in to comment.