docker-kubectl icon indicating copy to clipboard operation
docker-kubectl copied to clipboard

Automate New version

Open F-Eckhard opened this issue 7 years ago • 2 comments

Hi Wernight,

First, thanks for this dockerfile, helps a lot ;)

One suggestion for this would be to automaticaly get the newest version:

RUN apk add --update curl &&
rm -rf /var/cache/apk/*

RUN VERSION=$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt) && curl https://storage.googleapis.com/kubernetes-release/release/$VERSION/bin/linux/amd64/kubectl >> /usr/local/bin/kubectl

F-Eckhard avatar Nov 03 '17 10:11 F-Eckhard

@wernight do you need a pull request based on the above suggestion?

veeramarni avatar Nov 14 '17 19:11 veeramarni

Sounds good to me.

wernight avatar Nov 26 '17 20:11 wernight