Dockerfile 303 B

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