【问题标题】:Docker Build - GPG error Phusion Passenger EnterpriseDocker Build - GPG 错误 Phusion Passenger Enterprise
【发布时间】:2018-09-19 13:09:11
【问题描述】:

我们使用客运企业的 docker 构建已停止构建。

我们有以下错误:

GPG 错误:https://www.phusionpassenger.com/enterprise_apt xenial 发布:以下签名无效:NODATA 2

现阶段在Dockerfile

ADD passenger-enterprise-license /etc/passenger-enterprise-license
RUN echo deb https://download:<OUR_KEY>@www.phusionpassenger.com/enterprise_apt xenial main > /etc/apt/sources.list.d/passenger.list
RUN apt-get update && apt-get install -y -o Dpkg::Options::="--force-confold" passenger-enterprise nginx-extras

Docker 日志:

步骤 7/39:运行 apt-get update && apt-get install -y -o Dpkg::Options::="--force-confold" 乘客企业 nginx-extras ---> 在 cfb74f74a227 中运行 获取:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] 获取:2 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB] ign:3 https://www.phusionpassenger.com/enterprise_apt xenial InRelease 获取:4 https://www.phusionpassenger.com/enterprise_apt xenial 发布 [23.0 kB] 错误:5 https://www.phusionpassenger.com/enterprise_apt xenial Release.gpg 以下签名无效:NODATA 2

我已经检查了乘客企业许可证和令牌。他们都是正确的。

在这里也提出了 github 问题:Docker build failing Enterprise 在这里:Docker build failing Enterprise

【问题讨论】:

    标签: ruby-on-rails docker dockerfile passenger phusion


    【解决方案1】:

    Phusion 乘客团队成员在这里。对于仍然遇到此问题的任何人:不幸的是,当我们昨天迁移到新服务器时,一些 gpg 密钥没有正确导入。现在问题应该已经解决了,但是如果您仍然遇到问题,请尝试运行apt clean &amp;&amp; rm -rf /var/lib/apt/lists/* &amp;&amp; apt update

    这将清除本地 apt 缓存并重试 apt 更新。 给您带来的不便,我们深表歉意。

    【讨论】:

      猜你喜欢
      • 2015-01-16
      • 1970-01-01
      • 1970-01-01
      • 2021-11-16
      • 1970-01-01
      • 1970-01-01
      • 2015-01-01
      • 2014-04-24
      • 2011-06-18
      相关资源
      最近更新 更多