Glide安装问题

huangapple go评论91阅读模式
英文:

Glide installing issue

问题

安装glide失败:

步骤3/17:运行curl https://glide.sh/get | sh
...
步骤5/17:运行glide install
...
/bin/sh: 1: glide: not found
命令'/bin/sh -c glide install'返回了非零代码:127

当我访问https://glide.sh/get时,出现证书错误...
glide还在使用吗?我应该将我的Dockerfile重写为一种更新的依赖安装方式吗?

英文:

Installing glide is failing:

Step 3/17 : RUN curl https://glide.sh/get | sh
...
Step 5/17 : RUN glide install
...
/bin/sh: 1: glide: not found
The command '/bin/sh -c glide install' returned a non-zero code: 127

When I access https://glide.sh/get, I get certificate error...
Is glide still used? Shall I rewrite my Dockerfile to some newer way of installing dependencies?

答案1

得分: 3

滑动仍然在使用吗?

不。

我应该将Dockerfile重写为一种更新的安装依赖的方式吗?

是的,当然。使用Go模块。请参阅https://golang.org/doc/modules/managing-dependencies。

英文:

> Is glide still used?

No.

> Shall I rewrite my Dockerfile to some newer way of installing dependencies?

Yes, of course. Use Go modules. See https://golang.org/doc/modules/managing-dependencies .

huangapple
  • 本文由 发表于 2021年6月2日 16:39:45
  • 转载请务必保留本文链接:https://go.coder-hub.com/67801732.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定