Dockerfile 322 B

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