A container-based tool for build kubernetes
270
kube-build is a tool that help you to build the kubernetes compiling environment (golang 1.11), support
cd build-image
docker build -t shidaqiu/kube-build:latest .
2.1. download kube-build
docker pull shidaqiu/kube-build
2.2. run kube-build, then you are inside the container
docker run -it -v [k8s.io location]:/usr/lib/go/src/k8s.io shidaqiu/kube-build
2.3. for example, if we want to build kubeadm, we can execute the following commands inside the container
cd /usr/lib/go/src/k8s.io/kubernetes/cmd/kubeadm
go build
Content type
Image
Digest
Size
259.3 MB
Last updated
almost 8 years ago
docker pull shidaqiu/kube-build