Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.9k views
in Technique[技术] by (71.8m points)

docker build 时 容器内git clone 报错

clone github 上的项目
报错信息是
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

看起来是没有证书的原因,只能在git clone加了参数
-c http.sslVerify=false,问题没再出现

但是之前,build是正常的,不知道有没有遇到过这种问题的朋友知道原因,为什么会突然报错


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...