Skip to content

Commit

Permalink
Merge pull request #205 from rancher/replace-googleapisurl-kubectl
Browse files Browse the repository at this point in the history
Use dl.k8s.io for getting kubectl
  • Loading branch information
maxsokolovsky authored Oct 24, 2023
2 parents c9b6927 + 497b718 commit 262db61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV KUBECTL_VERSION v1.26.9
ENV K9S_VERSION=v0.27.4
ENV KUSTOMIZE_VERSION=v5.2.1
ENV KUSTOMIZE_URL=https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_${ARCH}.tar.gz
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/${ARCH}/kubectl && \
RUN curl -LO https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/${ARCH}/kubectl && \
chmod +x kubectl
RUN curl -sfL https://github.com/derailed/k9s/releases/download/${K9S_VERSION}/k9s_Linux_${ARCH}.tar.gz | tar xvzf -
RUN if [ "${ARCH}" = "amd64" ] || [ "${ARCH}" = "arm64" ] || [ "${ARCH}" = "s390x" ]; then \
Expand Down

0 comments on commit 262db61

Please sign in to comment.