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

./scripts/build-image.sh failed #53

Closed
wanghaoran1988 opened this issue Nov 15, 2016 · 3 comments · Fixed by #54
Closed

./scripts/build-image.sh failed #53

wanghaoran1988 opened this issue Nov 15, 2016 · 3 comments · Fixed by #54
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. status/claimed

Comments

@wanghaoran1988
Copy link
Contributor

./scripts/build-image.sh
+++++ Start building cyclone server
can't load package: package github.com/caicloud/cyclone: open /go/src/github.com/caicloud/cyclone: permission denied

@wanghaoran1988
Copy link
Contributor Author

docker run -u 0 -t -i -v pwd:/go/src/github.com/caicloud/cyclone
-e GOPATH=/go:/go/src/github.com/caicloud/cyclone/vendor golang:1.6-alpine sh
/go # cd /go/src/github.com/caicloud/cyclone/vendor
/go/src/github.com/caicloud/cyclone/vendor # ls -rlt
ls: can't open '.': Permission denied
total 0

@wanghaoran1988
Copy link
Contributor Author

We need to disable selinux if we run on centos/redhat using sudo setenforce 0

@gaocegege
Copy link
Contributor

gaocegege commented Nov 15, 2016

Thanks for the issue and PR, we will test it ASAP :)

@gaocegege gaocegege added kind/bug Categorizes issue or PR as related to a bug. priority/P3 status/claimed labels Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. status/claimed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants