Skip to content

Commit

Permalink
fix: update KUBECTL_VERSION && HELM_VERSION, and use wget instead of …
Browse files Browse the repository at this point in the history
…curl (goharbor#1664)

Signed-off-by: Shengwen Yu <[email protected]>
  • Loading branch information
Shengwen YU committed Dec 26, 2023
1 parent 7d045cb commit 335fe49
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 335fe49

Please sign in to comment.