<p>I want to run 'kubectl' commands in the container, so i want to install kubectl in the container while building the Docker image.
Any help is appreciated!</p>

Chandra
<p>put this in your Dockerfile</p>

<pre><code>RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
RUN chmod +x ./kubectl
RUN mv ./kubectl /usr/local/bin
</code></pre>
