mirror of
https://github.com/luzifer-docker/kubectl.git
synced 2024-12-20 19:11:18 +00:00
Update kubectl, add bash
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7e348b91ac
commit
75d26b0bce
1 changed files with 2 additions and 1 deletions
|
@ -1,9 +1,10 @@
|
|||
FROM alpine
|
||||
|
||||
ARG KUBECTL_VERSION=v1.26.0
|
||||
ARG KUBECTL_VERSION=v1.26.1
|
||||
|
||||
RUN set -ex \
|
||||
&& apk --no-cache add \
|
||||
bash \
|
||||
curl \
|
||||
&& curl -sSfL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" \
|
||||
&& chmod 0755 /usr/local/bin/kubectl
|
||||
|
|
Loading…
Reference in a new issue