Dokku部署问题,无法选择构建包。

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

Dokku deployment issue unable to select build pack

问题

嗨,我正在尝试设置一个Digital Ocean服务器和Dokku,每当我将本地的Golang应用推送到Dokku服务器时,我都会收到以下错误信息:

无法选择构建包

还有通用的错误信息:

! [remote rejected] dev -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@....:tiny-web'

我已经启用了Dokku的跟踪功能,并创建了一个gist

我该如何解决这个问题?提前感谢你的帮助。

英文:

Hi I am trying to setup a digital ocean server along with dokku, whenever i push my local golang app to the dokku server, I'm receiving a the following error:

unable to select buildpack

along with the generic:

! [remote rejected] dev -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@....:tiny-web'

I have enabled dokku tracing and created a gist here.

How can I fix this? Thanks in advance

答案1

得分: 1

为了使golang buildpack能够自动检测,你需要按照buildpack readme中的说明进行操作。

英文:

In order to have the golang buildpack automatically detected, you'll need to follow the instructions in the buildpack readme.

huangapple
  • 本文由 发表于 2017年5月11日 08:41:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/43904716.html
匿名

发表评论

匿名网友

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

确定