Skip to content

Commit

Permalink
Merge pull request #1668 from zyyw/1.14.0
Browse files Browse the repository at this point in the history
[cherry-pick] fix: update KUBECTL_VERSION && HELM_VERSION, and use wget instead of curl (#1664)
  • Loading branch information
ywk253100 authored Jan 2, 2024
2 parents 7d045cb + 335fe49 commit 7f748f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/e2e/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3

ARG KUBECTL_VERSION="v1.21.1"
ARG HELM_VERSION="v3.9.2"
RUN apk add bash curl bind-tools \
&& curl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl \
&& curl https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -o - | tar -xzO linux-amd64/helm > /usr/local/bin/helm && chmod +x /usr/local/bin/helm
ARG KUBECTL_VERSION="v1.27.1"
ARG HELM_VERSION="v3.13.3"
RUN apk add bash bind-tools \
&& wget https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -P /usr/local/bin/ && chmod +x /usr/local/bin/kubectl \
&& wget -O - https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz | tar -xzO linux-amd64/helm > /usr/local/bin/helm && chmod +x /usr/local/bin/helm

0 comments on commit 7f748f8

Please sign in to comment.