Update kubectl, add bash

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-02-15 11:58:23 +01:00
parent 7e348b91ac
commit 75d26b0bce
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -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