Created
June 2, 2020 18:57
-
-
Save palnabarun/e4a96c24e2a6f6ff9d60f0cf331b4d27 to your computer and use it in GitHub Desktop.
Dockerfile to create an image with just kubectl. NOT FOR PRODUCTION
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
RUN apt update && apt install -y curl | |
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.2/bin/linux/amd64/kubectl && chmod +x kubectl && mv kubectl /usr/bin/kubectl | |
CMD ["sleep", "3600"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment