9 lines
383 B
Docker
9 lines
383 B
Docker
FROM alpine:3.18.0
|
|
|
|
LABEL smallkoudai <smallkoudai@gmail.com>
|
|
|
|
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/*
|