diff --git a/docs/development.md b/docs/development.md index ed65f90192fc330f614c116ad8859e2a0fadd7f0..f56672621302c7ffc8801a9267d9872759e47ba4 100644 --- a/docs/development.md +++ b/docs/development.md @@ -2,12 +2,14 @@ ## How to build Kube-OVN -Kube-OVN is developed by [Go](https://golang.org/) and uses [Go Modules](https://github.com/golang/go/wiki/Modules) to manage dependency. +Kube-OVN is developed by [Go](https://golang.org/) 1.14 and uses [Go Modules](https://github.com/golang/go/wiki/Modules) to manage dependency. To minimize image size we use docker experiment buildx features, please enable it through the [reference](https://docs.docker.com/develop/develop-images/build_enhancements/). +We also use [gosec](https://github.com/securego/gosec) to inspects source code for security problems. ``` git clone https://github.com/alauda/kube-ovn.git +go get -u github.com/securego/gosec/cmd/gosec cd kube-ovn make release ``` @@ -18,9 +20,11 @@ Kube-OVN uses [KIND](https://kind.sigs.k8s.io/) to setup a local Kubernetes clus and [Ginkgo](https://onsi.github.io/ginkgo/) as the test framework to run the e2e tests. ``` +go get -u github.com/onsi/ginkgo/ginkgo +go get -u github.com/onsi/gomega/... + make kind-init # wait all pod ready - make e2e ```