英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论