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

can't make docker image #1

Open
mahzoun opened this issue Jul 9, 2017 · 2 comments
Open

can't make docker image #1

mahzoun opened this issue Jul 9, 2017 · 2 comments

Comments

@mahzoun
Copy link

mahzoun commented Jul 9, 2017

I get this when i try to run make:

Step 5 : RUN go install github.com/caesarxuchao/example-webhook-admission-controller
 ---> Running in 3bc033d3ffdd
# github.com/caesarxuchao/example-webhook-admission-controller
github.com/caesarxuchao/example-webhook-admission-controller/config.go:89: undefined: "github.com/caesarxuchao/example-webhook-admission-controller/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1".ExternalAdmissionHookConfiguration
The command '/bin/sh -c go install github.com/caesarxuchao/example-webhook-admission-controller' returned a non-zero code: 2
make: *** [all] Error 2

what should i do?

@caesarxuchao
Copy link
Owner

Did you remove the vendor directory? Anyway, could you try again with the latest example, on a v1.9.0-alpha.1 or v1.8.0 Kuberentes cluster?

@mahzoun
Copy link
Author

mahzoun commented Sep 28, 2017

The problem was with the CI, the base image that I tried to create my image on it had problems.

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

2 participants