Docker Hub-自动构建失败,但我的raspberry上的本地构建运行正常

Docker Hub-自动构建失败,但我的raspberry上的本地构建运行正常,docker,raspberry-pi,dockerhub,Docker,Raspberry Pi,Dockerhub,我在docker hub上有一个自动docker构建,当它在本地运行时没有错误(在我的raspberry4上) 日志如下所示: Cloning into '.'... Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts. Reset branch 'master' Your branch is up-to-date with 'origin/m

我在docker hub上有一个自动docker构建,当它在本地运行时没有错误(在我的raspberry4上)

日志如下所示:

Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
Reset branch 'master'
Your branch is up-to-date with 'origin/master'.
KernelVersion: 4.4.0-1060-aws
Components: [{u'Version': u'18.03.1-ee-3', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2018-08-30T18:42:30.000000000+00:00', u'ApiVersion': u'1.37', u'MinAPIVersion': u'1.12', u'GitCommit': u'b9a5c95', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.10.2'}}]
Arch: amd64
BuildTime: 2018-08-30T18:42:30.000000000+00:00
ApiVersion: 1.37
Platform: {u'Name': u''}
Version: 18.03.1-ee-3
MinAPIVersion: 1.12
GitCommit: b9a5c95
Os: linux
GoVersion: go1.10.2
Starting build of index.docker.io/jiwidi/jupyter-lab-rpi:latest...
Step 1/22 : FROM resin/raspberrypi3-python:3.6
---> 97f0dfa04606
Step 2/22 : MAINTAINER 
---> Running in e83c3b081120
Removing intermediate container e83c3b081120
---> 231f400a33d1
Step 3/22 : WORKDIR /root
Removing intermediate container 94b752c9953c
---> adc8cb2817d2
Step 4/22 : RUN apt-get update && apt-get install -y libncurses5-dev libzmq-dev libfreetype6-dev libpng-dev
---> Running in ded49f1ec6dd
[91mstandard_init_linux.go:190: exec user process caused "exec format error"
[0m
Removing intermediate container ded49f1ec6dd
The command '/bin/sh -c apt-get update && apt-get install -y libncurses5-dev libzmq-dev libfreetype6-dev libpng-dev' returned a non-zero code: 1
失败的线路没有提供太多反馈:

命令“/bin/sh-c apt get update”返回了一个非零代码:1`

我将它链接到我的GitHub存储库,您可以在其中找到


这可能是因为我的映像正在ARM体系结构中构建,docker hub运行x86吗?

Hi logs链接不工作,您是否尝试过分离命令

想知道失败的地方是什么

RUN apt-get update && apt-get install -y libncurses5-dev 
RUN apt-get update && apt-get install -y libzmq-dev
RUN apt-get update && apt-get install -y libfreetype6-dev 
RUN apt-get update && apt-get install -y libpng-dev

嘿刚刚尝试,但在
处失败命令“/bin/sh-c apt get update”返回了一个非零代码:1
您是否尝试过替换不推荐的image resin/raspberrypi3 python:3.6?我刚刚尝试了一个较新的映像(几天之后),但仍然发生相同的错误,在sudo apt get update处失败。它在当地仍然运行良好。新dockerfile:在macos catalina 10.15.3上构建良好是的,它在本地运行正常,但在我通过将映像链接到github存储库而设置的docker hub自动构建上失败。我不明白为什么