From 0f3d82455039426f6b3abce626139372ad5f53d6 Mon Sep 17 00:00:00 2001 From: vsoch Date: Wed, 21 Feb 2018 12:54:14 -0800 Subject: [PATCH] adding go get instruction to readme Signed-off-by: Vanessa Sochat --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 3ca7a1a227d..3d72ad34fee 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,18 @@ make sudo make install ``` +You can also use `go get` to install to your `GOPATH`, assuming that you have a `github.com` parent folder already created under `src`: + +```bash +go get github.com/opencontainers/runc +cd $GOPATH/src/github.com/opencontainers/runc +make +sudo make install +``` + `runc` will be installed to `/usr/local/sbin/runc` on your system. + #### Build Tags `runc` supports optional build tags for compiling support of various features.