File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -18,20 +18,17 @@ Please see https://git.k8s.io/community/CLA.md for more info
18
18
Setup:
19
19
20
20
- Download [ google container builder] ( https://cloud.google.com/container-builder/docs/build-debug-locally )
21
- - Export ` GOOS ` (darwin/linux) and ` GOARCH ` (amd64) vars to match the system to build
22
21
- Export ` OUTPUT ` to a location to write the directory containing the final build artifacts
23
22
24
23
``` sh
25
- export GOOS=darwin
26
- export GOARCH=amd64
27
24
export OUTPUT=/tmp/kubebuilder
28
25
```
29
26
30
27
Run container-builder:
31
28
32
29
``` sh
33
30
container-builder-local --config=build/cloudbuild_local.yaml --dryrun=false \
34
- --substitutions=_GOOS= $GOOS ,_GOARCH= $GOARCH -- write-workspace=$OUTPUT .
31
+ --write-workspace=$OUTPUT .
35
32
```
36
33
37
34
Extract ` tar.gz ` from $OUTPUT to /usr/local
You can’t perform that action at this time.
0 commit comments