Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set GOROOT and GOPATH, add to PATH #162

Open
jrajahalme opened this issue Jun 26, 2019 · 0 comments
Open

Set GOROOT and GOPATH, add to PATH #162

jrajahalme opened this issue Jun 26, 2019 · 0 comments

Comments

@jrajahalme
Copy link
Member

jrajahalme commented Jun 26, 2019

make generate-k8s-api fails in the dev VM due to missing GOPATH:

./generate-groups.sh: line 71: GOPATH: unbound variable
Makefile:227: recipe for target 'generate-k8s-api' failed
make: *** [generate-k8s-api] Error 1

While it would be possible to fix this by modifying the Makefile, it would be better to have GOROOT and GOPATH set in the base box image itself.

Add $GOPATH to PATH, so that running dep (when installed) succeeds without explicit path.

@jrajahalme jrajahalme changed the title Set GOROOT and GOPATH Set GOROOT and GOPATH, add to PATH Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant