Go to file
Mark Ryan 96c49775c0 utils: Use go env to discover the GOPATH
Since Go 1.8 users no longer need to have GOPATH set in their environment
for the Go tool chain to work.  If GOPATH is set, Go will use it.  Otherwise
it defaults to ~/go on linux.  As most users store their code in ~/go, they
don't bother setting GOPATH any more.  virtcontainers-setup.sh, in its
current form, fails for those users, as it requires GOPATH to be set.
This commit fixes the issue by calling go env "GOPATH" to determine the
correct location of the user's go code.  go env "GOPATH" will always
return the correct location, whether GOPATH is set, or not.

Fixes: #63

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
2018-03-16 09:39:58 +00:00
.ci cli: Add initial cli implementation. 2018-03-15 12:10:52 -06:00
cc-runtime@532740cc7c cc-runtime: Update to 3.0.21 2018-03-08 08:19:53 -06:00
cli cli: Add initial cli implementation. 2018-03-15 12:10:52 -06:00
runv@299f4e6493 runv: modify GOPATH to build 2018-01-30 10:00:05 +08:00
vendor vendor: re-vendor agent to fix mount error 2018-03-15 12:13:22 -06:00
virtcontainers utils: Use go env to discover the GOPATH 2018-03-16 09:39:58 +00:00
.gitignore runv: modify GOPATH to build 2018-01-30 10:00:05 +08:00
.gitmodules runv: modify GOPATH to build 2018-01-30 10:00:05 +08:00
.pullapprove.yml CI: Add pullapprove and require two acks / PR 2017-12-21 17:23:35 +00:00
.travis.yml travis: fix runtime build 2018-03-15 12:10:52 -06:00
CODE_OF_CONDUCT.md docs: Add missing standard docs 2018-02-09 14:45:14 +00:00
CONTRIBUTING.md docs: Add missing standard docs 2018-02-09 14:45:14 +00:00
Gopkg.lock vendor: re-vendor agent to fix mount error 2018-03-15 12:13:22 -06:00
Gopkg.toml vendor: re-vendor agent to fix mount error 2018-03-15 12:13:22 -06:00
LICENSE Initial commit 2017-11-21 17:03:45 +08:00
Makefile Makefile: Update makefile to build runtime 2018-03-15 12:10:52 -06:00
README.md docs: Add missing standard docs 2018-02-09 14:45:14 +00:00

Build Status

Runtime

This project contains the runtime for the Kata Containers project.