- FROM alpine:3.12.0
- ARG KUBECTL_VERSION=1.18.9
- COPY mask2cdr /usr/sbin/
- RUN apk add --update --no-cache curl ca-certificates jq && \
- curl -LO https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
- mv kubectl /usr/bin/kubectl && \
- chmod +x /usr/bin/kubectl
|