GCP Nodejs Flex env node.js 安装失败,签名错误

GCP Nodejs Flex env node.js installation failure with wrong signature

开发 nodejs 和 angular 应用程序,使用 Gitlab 存储代码并使用 GL CI/CD 在 GCP 上部署当前版本的应用程序。大约一个月前开始在 node.js 安装期间出现错误:

Step #1: INFO[0028] RUN /usr/local/bin/install_node '>=12'
Step #1: INFO[0028] cmd: /bin/sh
Step #1: INFO[0028] args: [-c /usr/local/bin/install_node '>=12'] 
Step #1: % Total % Received % Xferd Average Speed Time Time Time Current 
Step #1: Dload Upload Total Spent Left Speed 
Step #1: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32.1M 100 32.1M 0 0 47.5M 0 --:--:-- --:--:-- --:--:-- 47.5M 
Step #1: % Total % Received % Xferd Average Speed Time Time Time Current 
Step #1: Dload Upload Total Spent Left Speed 
Step #1: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3838 100 3838 0 0 21107 0 --:--:-- --:--:-- --:--:-- 21204 
Step #1: gpg: Signature made Thu Sep 10 15:04:50 2020 UTC using RSA key ID C17AB93C gpg: Can't check signature: public key not found 
Step #1: The Node.js binary could not be verified. 
Step #1: This means it may not be an officially released Node.js binary 
Step #1: or may have been tampered with.

我认为这是 GL 和 Google 帐户的问题,从头开始创建项目(GL 和 GAE),但没有成功。

我的gitlab-ci.yml脚本部分

- echo $GCP_SERVICE_KEY > /tmp/$CI_PIPELINE_ID.json
- gcloud auth activate-service-account --key-file /tmp/$CI_PIPELINE_ID.json
- gcloud --project $GCP_PROJECT_ID app deploy app.yaml dispatch.yaml

app.yaml

runtime: nodejs
env: flex

automatic_scaling:
  min_num_instances: 1
  max_num_instances: 4

env_variables:
  CLOUD_STORAGE_BUCKET: gs://[projectname]-deploy

谁能帮我解决这个错误或指出在哪里可以找到解决它的步骤?

提前致谢。

对于面临相同问题的任何人 - 从 package.json 中删除引擎部分,因为它可能会阻碍 GCP 安装程序。

答案可以在: https://github.com/GoogleCloudPlatform/nodejs-docker/issues/214

问题似乎出在节点 14.10