FROM alpine:3.18.0 LABEL smallkoudai ARG KUBE_VERSION=v1.23.12 RUN apk add --update ca-certificates gettext git --no-cache && apk add --update -t deps curl && \ curl -sL https://dl.k8s.io/release/${KUBE_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \ chmod +x /usr/local/bin/kubectl && apk del --purge deps && rm /var/cache/apk/*