I want to run \'kubectl\' commands in the container, so i want to install kubectl in the container, through while building the Docker image. Any help is appreciated!
If you have docker you can do whatever you want really since you can pull and start any image. So if you want to build and deploy:
docker login docker build foo/bar . docker push docker run -v ~/.kube:/root/.kube lachlanevenson/k8s-kubectl set image deploy bar app=foo/bar