google-cloud-platform - “gcr.io/cloud-builders/docker”失败:步骤以非零状态退出:2
问题描述
我在 Google Cloud Platform 的 k8 集群中部署容器时遇到了一点问题。在我粘贴了在我的 Dockerfile 上编写的第 17 步(“RUN pecl install grpc”)期间发生的部分日志错误,但我不知道如何解决这个问题,有什么建议吗?
Step 17/52 : RUN pecl install grpc ---> Running in 226d47d5eca8 下载 grpc-1.38.0.tgz ...开始下载 grpc-1.38.0.tgz (4,469,171 bytes) ......... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ....................................................................................................... ..................................................... ..................................................... ......................完成:4,469,171 字节 2052 源文件,构建运行:phpize 配置:PHP Api 版本:20190902 Zend 模块 Api 编号:20190902 Zend 扩展Api No: 320190902 ear/temp/grpc/third_party/upb -I/tmp/pear/temp/grpc/third_party/xxhash -DHAVE_CONFIG_H -std=c++11 -fno-exceptions -fno-rtti -g -O2 -c /tmp/pear/temp/grpc/src/core/ext/transport/chttp2/transport/frame_ping.cc -o src/core/ext/transport/chttp2/transport/frame_ping.log++ -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DGRPC_ARES=0 -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -I。-I/tmp/pear/temp/grpc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseranMGkn/grpc-1.38.0/include -I/tmp/pear/temp/pear-build-defaultuseranMGkn/grpc -1.38。0/main -I/tmp/pear/temp/grpc -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/ usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/tmp/pear/temp/grpc/include - I/tmp/pear/temp/grpc/src/core/ext/upb-生成-I/tmp/pear/temp/grpc/src/core/ext/upbdefs-生成-I/tmp/pear/temp/grpc/ src/php/ext/grpc -I/tmp/pear/temp/grpc/third_party/abseil-cpp -I/tmp/pear/temp/grpc/third_party/address_sorting/include -I/tmp/pear/temp/grpc/ third_party/boringssl-with-bazel/src/include -I/tmp/pear/temp/grpc/third_party/re2 -I/tmp/pear/temp/grpc/third_party/upb -I/tmp/pear/temp/grpc/第三方/xxhash -DHAVE_CONFIG_H -std=c++11 -fno-exceptions -fno-rtti -g -O2 -c /tmp/pear/temp/grpc/src/core/ext/transport/chttp2/transport/frame_ping。cc -fPIC -DPIC -o src/core/ext/transport/chttp2/transport/.libs/frame_ping.o ERROR ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero状态:2
太感谢了
解决方案
推荐阅读
- hyperledger-fabric - 当使用在 fabric-go-sdk 中使用 `WithSDK` 配置的网关发送事务时,会发生 TRANSIENT_FAILURE
- python - 如何以类似于 Excel 的方式打印数据框?
- process - 从 asp.net core 运行控制台应用程序
- javascript - 嵌套 Promise 的变量赋值未解决(Stripe API)
- angular - 端点返回值后更新变量值
- session - 在非opencart php脚本中使用在opencart中创建的会话
- python - ValueError: int() 以 10 为底的无效文字:'3_Other'
- reactjs - React - 将数据计数器从子组件传递给父组件
- r - 如何引用/取消引用变量以在 R 中构造公式
- angular - 如何知道是什么原因导致角度中的“定时器被触发”