-
Notifications
You must be signed in to change notification settings - Fork 84
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
Add Dockerfile #32
base: master
Are you sure you want to change the base?
Add Dockerfile #32
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is cool! A couple of small nits on the README changes and we should be able to merge it.
README.md
Outdated
@@ -21,6 +21,10 @@ Click is on crates.io, so you can just run `cargo install` to install it. | |||
|
|||
Alternately, to build it yourself, clone the click repository and run `cargo build`. | |||
|
|||
## Docker build | |||
|
|||
`docker run --rm -it -v $HOME/.kube/:/root/.kube/ click` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't right is it? It should be something like docker build -t click .
in the click directory?
@@ -34,6 +38,10 @@ can change this with the --config option. | |||
|
|||
Once you're in the REPL, try typing `help` to see what you can do. | |||
|
|||
## Docker | |||
|
|||
`docker run --rm -it -v $HOME/.kube/:/root/.kube/ click` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a note that if any of your certificates are stored outside the .kube
dir you'll need to bind that in as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's also the issue of kubectl configurations that use other commands to gather auth info (e.g. gcloud for GKE clusters).
No description provided.