Skip to content

Commit

Permalink
修复 wget 下载报错无法检测 ssl 问题
Browse files Browse the repository at this point in the history
  • Loading branch information
石磊 authored and 石磊 committed Aug 16, 2023
1 parent bb9af85 commit 04484f8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion script/PushIstioNodeBinaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ FROM slzcc/ansible:demo4 as Packages
ENV http_proxy=${http_proxy} \
https_proxy=${https_proxy}
RUN wget -qO- "https://github.com/istio/istio/releases/download/${IstioVersion}/istio-${IstioVersion}-linux-amd64.tar.gz" | tar zx -C ${temporaryDirs} && \
RUN wget --no-check-certificate -qO- "https://github.com/istio/istio/releases/download/${IstioVersion}/istio-${IstioVersion}-linux-amd64.tar.gz" | tar zx -C ${temporaryDirs} && \
mv ${temporaryDirs}/istio-${IstioVersion} ${temporaryDirs}/istio
FROM ubuntu:18.04
Expand Down
1 change: 0 additions & 1 deletion script/PushKubernetesNodeBinaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ ENV http_proxy=${http_proxy} \
https_proxy=${https_proxy}
RUN wget --no-check-certificate -qO- https://dl.k8s.io/${k8sVersion}/kubernetes-server-${_cni_os_drive}.tar.gz | tar zx -C /
# RUN wget --no-check-certificate https://dl.k8s.io/${k8sVersion}/kubernetes-server-${_cni_os_drive}.tar.gz && tar zxf kubernetes-server-${_cni_os_drive}.tar.gz -C /
RUN mkdir -p /cni && \
wget --no-check-certificate -qO- https://github.com/containernetworking/plugins/releases/download/${cniVersion}/cni-plugins-${_cni_os_drive}-${cniVersion}.tgz | tar zx -C /cni
Expand Down

0 comments on commit 04484f8

Please sign in to comment.