Skip to content

Commit

Permalink
Merge pull request #170 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
andypitcher authored Oct 24, 2023
2 parents c788f3f + 5f6b7d8 commit d781893
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN curl -Lo ./kind "https://github.com/kubernetes-sigs/kind/releases/download/v
chmod +x ./kind && \
mv ./kind /usr/local/bin/

RUN curl -Lo ./kubectl "https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/${ARCH}/kubectl" && \
RUN curl -Lo ./kubectl "https://dl.k8s.io/release/v${KUBERNETES_VERSION}/bin/linux/${ARCH}/kubectl" && \
chmod +x ./kubectl && \
mv ./kubectl /usr/local/bin/

Expand Down
2 changes: 1 addition & 1 deletion package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN zypper --non-interactive update \
tar \
awk \
gzip
RUN curl -Lo ./kubectl "https://storage.googleapis.com/kubernetes-release/release/v${kubectl_version}/bin/linux/${ARCH}/kubectl" && \
RUN curl -Lo ./kubectl "https://dl.k8s.io/release/v${kubectl_version}/bin/linux/${ARCH}/kubectl" && \
chmod +x ./kubectl && \
mv ./kubectl /usr/local/bin/
RUN curl -sLf "https://github.com/vmware-tanzu/sonobuoy/releases/download/v${sonobuoy_version}/sonobuoy_${sonobuoy_version}_linux_${ARCH}.tar.gz" | tar -xvzf - -C /usr/bin sonobuoy
Expand Down

0 comments on commit d781893

Please sign in to comment.