From 800de3992fd91ee3436866056b9e1eacd325cfbc Mon Sep 17 00:00:00 2001 From: Daniel Lipovetsky Date: Mon, 27 Apr 2020 08:40:32 -0700 Subject: [PATCH] Recommend building with make Do not recommend `go get`, which may not be working across all go versions. See https://github.com/kubernetes-sigs/etcdadm/issues/156. Signed-off-by: Daniel Lipovetsky --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 915cf0e41..26218e3fe 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,15 @@ etcdadm is a command-line tool for operating an etcd cluster. It makes it easy t ### Building -``` -go get -u sigs.k8s.io/etcdadm -``` +1. Clone the git repository. +1. Build on the host: + ``` + make etcdadm + ``` +1. Build in a container, using docker: + ``` + make container-build + ``` ### Creating a new cluster