【问题标题】:foreman with custom buildpack具有自定义 buildpack 的工头
【发布时间】:2013-01-09 02:20:08
【问题描述】:

如果我使用的是自定义 buildpack,如何让我的 heroku 应用与工头一起在本地运行?我正在使用 nginx/php-fpm 构建包(https://github.com/travisj/heroku-buildpack-nginx-php),它安装 php 和 nginx,然后启动所有进程。

我如何让它与工头一起运行?我知道没有 --buildpack 选项。

【问题讨论】:

    标签: heroku foreman


    【解决方案1】:

    我也有同样的问题,我什至开始滚动自己的代码作为答案。不过,最后,我实际上搜索了记录在工头 github repo 上的问题,发现存在:

    https://github.com/ddollar/mason

    虽然,当我使用它时,我很快遇到了一个 Ruby 错误,导致我的构建失败。 @clowder's pull request 解决了一半的问题,所以我继续按照@andys 的建议,实施了其余的修复:

    https://github.com/steven-collins-omega/mason/tree/fix-symlink-copying

    这似乎可以解决问题。祝你好运!

    【讨论】:

      猜你喜欢
      • 2014-10-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-09-16
      • 1970-01-01
      相关资源
      最近更新 更多