File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ ## Unreleased
4+
5+ ## 0.1.1
6+
7+ * Fixed ARM64 compatibility. (@petewall )
8+
9+ ## 0.1.0
10+
11+ * First release of the Kubectl image.
Original file line number Diff line number Diff line change @@ -7,10 +7,11 @@ LABEL org.opencontainers.image.licenses=Apache-2.0
77RUN apk add --no-cache bash curl gettext jq ca-certificates
88
99# Download kubectl at various versions
10+ ARG TARGETARCH
1011ARG KUBECTL_VERSIONS="1.29 1.30 1.31 1.32 1.33"
1112RUN set -eux; \
1213 for v in $KUBECTL_VERSIONS; do \
13- curl -sSL -o "/usr/bin/kubectl-$v" "https://dl.k8s.io/release/$(curl -L -s " https://dl.k8s.io/release/stable-${v}.txt")/bin/linux/amd64 /kubectl" && \
14+ curl -sSL -o "/usr/bin/kubectl-$v" "https://dl.k8s.io/release/$(curl -L -s " https://dl.k8s.io/release/stable-${v}.txt")/bin/linux/${TARGETARCH} /kubectl" && \
1415 chmod +x "/usr/bin/kubectl-$v" ; \
1516 done; \
1617 ln -s /usr/bin/kubectl-1.33 /usr/bin/kubectl
Original file line number Diff line number Diff line change 1- 0.1.0
1+ 0.1.1
You can’t perform that action at this time.
0 commit comments