牧云风天 2021-04-07 16:13
浏览 21

树莓派 openfaas 编译执行到第七步报错

pi@raspberrypi:~/functions$ faas-cli build -f ./hello-python.yml


[0] > Building hello-python.
Clearing temporary build folder: ./build/hello-python/
Preparing: ./hello-python/ build/hello-python/function
Building: hello-python:latest with python template. Please wait..
Sending build context to Docker daemon  8.192kB
Step 1/31 : FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.5 as watchdog
 ---> c164772f02dd
Step 2/31 : FROM --platform=${TARGETPLATFORM:-linux/amd64} python:2.7-alpine
 ---> 8579e446340f
Step 3/31 : ARG TARGETPLATFORM
 ---> Using cache
 ---> e40c331bb33c
Step 4/31 : ARG BUILDPLATFORM
 ---> Using cache
 ---> 0ca2b901990e
Step 5/31 : ARG ADDITIONAL_PACKAGE
 ---> Using cache
 ---> 73a95adc61dd
Step 6/31 : COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
 ---> Using cache
 ---> b682e77f1960
Step 7/31 : RUN chmod +x /usr/bin/fwatchdog
 ---> Running in ccd04dabff43
standard_init_linux.go:219: exec user process caused: exec format error
The command '/bin/sh -c chmod +x /usr/bin/fwatchdog' returned a non-zero code: 1
[0] < Building hello-python done in 3.04s.
[0] Worker done.

Total build time: 3.04s
Errors received during build:
- [hello-python] received non-zero exit code from build, error: The command '/bin/sh -c chmod +x /usr/bin/fwatchdog' returned a non-zero code: 1

 

 

版本号是:

pi@raspberrypi:~/functions$ faas version
  ___                   _____           ____
 / _ \ _ __   ___ _ __ |  ___|_ _  __ _/ ___|
| | | | '_ \ / _ \ '_ \| |_ / _` |/ _` \___ \
| |_| | |_) |  __/ | | |  _| (_| | (_| |___) |
 \___/| .__/ \___|_| |_|_|  \__,_|\__,_|____/
      |_|

CLI:
 commit:  2cec97955a254358de5443987bedf8ceee272cf8
 version: 0.13.9

Gateway
 uri:     http://127.0.0.1:8080
 version: 0.18.18
 sha:     11ff356ccea32b89b9da556c18305cd7c5ea9ba5


Provider
 name:          faas-swarm
 orchestration: swarm
 version:       0.9.0 
 sha:           e7e845461aa467c0705fe351b6caa025b1abc2ae

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 素材场景中光线烘焙后灯光失效
    • ¥15 请教一下各位,为什么我这个没有实现模拟点击
    • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 保护模式-系统加载-段寄存器