mirror of
https://github.com/luzifer-docker/kubectl.git
synced 2024-12-29 23:31:20 +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
|
FROM alpine
|
||||||
|
|
||||||
ARG KUBECTL_VERSION=v1.26.0
|
ARG KUBECTL_VERSION=v1.26.1
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk --no-cache add \
|
&& apk --no-cache add \
|
||||||
|
bash \
|
||||||
curl \
|
curl \
|
||||||
&& curl -sSfL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" \
|
&& curl -sSfL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" \
|
||||||
&& chmod 0755 /usr/local/bin/kubectl
|
&& chmod 0755 /usr/local/bin/kubectl
|
||||||
|
|
Loading…
Reference in a new issue