mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-23 21:36:33 +00:00
Document how to build inside/outside GOPATH
This commit is contained in:
@@ -231,14 +231,22 @@ kubectl -n kube-system annotate ds kured weave.works/kured-node-lock-
|
||||
## Building
|
||||
|
||||
See the [CircleCI config](.circleci/config.yml) for the preferred
|
||||
version of Golang. Kured now uses Go Modules, so a simple
|
||||
version of Golang. Kured now uses [Go
|
||||
Modules](https://github.com/golang/go/wiki/Modules), so build
|
||||
instructions vary depending on where you have checked out the
|
||||
repository:
|
||||
|
||||
**Building outside $GOPATH:**
|
||||
|
||||
```
|
||||
make
|
||||
```
|
||||
|
||||
is sufficient to download the required dependencies and build the
|
||||
Docker image.
|
||||
**Building inside $GOPATH:**
|
||||
|
||||
```
|
||||
GO111MODULE=on make
|
||||
```
|
||||
|
||||
## Frequently Asked/Anticipated Questions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user