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

Create arkade docker image #1017

Closed
elyesbenamor opened this issue Jan 13, 2024 · 6 comments
Closed

Create arkade docker image #1017

elyesbenamor opened this issue Jan 13, 2024 · 6 comments

Comments

@elyesbenamor
Copy link

Expected Behaviour

Using docker container to use arkade for containers lovers and fans

Current Behaviour

The image will be used as follows
docker run -it --network="host" \ -v $HOME/.arkade/bin/:$HOME/.arkade/bin/ \ -v $HOME/.kube:/$HOME/.kube \ --env KUBECONFIG=${KUBECONFIG:-$HOME/.kube/config} \ arkade install .....
docker run -it --network="host" \ -v $HOME/.arkade/bin/:$HOME/.arkade/bin/ \ -v $HOME/.kube:/$HOME/.kube \ --env KUBECONFIG=${KUBECONFIG:-$HOME/.kube/config} \ arkade get ....
docker run -it --network="host" \ -v $HOME/.arkade/bin/:$HOME/.arkade/bin/ \ -v $HOME/.kube:/$HOME/.kube \ --env KUBECONFIG=${KUBECONFIG:-$HOME/.kube/config} \ arkade system install ....

Details

As a switch user (kube switch ) to manage my kubeconfigs it is better to pass the kubeconfig file as env variable once
switch cli is invoked, else if running one cluster the default will be in the .kube folder.'

We also mount the binary folder expected where arrkade will install them in order to persist them locally.

Done ?

I have implemented the dockerfile and tested it on my environement and you can look at the image on docker hub.

@elyesbenamor
Copy link
Author

@alexellis would you be intrested ?

@alexellis
Copy link
Owner

Hi @elyesbenamor I'm not sure that I see the value in complicating arkade.

Can you better explain why this is needed?

@elyesbenamor
Copy link
Author

@alexellis it is only for local developer who wants to rely on containers and like myself have lots of clusters , once switched using kubeswitch, it is a better way to use an ephemeral container to deploy stuff using ark.

@alexellis
Copy link
Owner

I don't want this for arkade, but if you sponsor me on a 15USD+ tier / mo I'll add it. If you don't want to support my work, you could maintain your own dockerfile triggered with cron every day?

@alexellis
Copy link
Owner

🤷

@alexellis
Copy link
Owner

/lock: won't fix

@derek derek bot locked and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants