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

Add Dockerfile #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add Dockerfile #32

wants to merge 2 commits into from

Conversation

andreub
Copy link

@andreub andreub commented Mar 28, 2018

No description provided.

Copy link
Collaborator

@nicklan nicklan left a 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`
Copy link
Collaborator

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`
Copy link
Collaborator

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?

Copy link

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).

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

Successfully merging this pull request may close these issues.

3 participants