Closed mike-boost closed 11 months ago
如果自己build, 在这一步失败。
=> ERROR [stage-3 5/10] RUN mkdir -p /opt/bin 0.5s
------
> [stage-3 5/10] RUN mkdir -p /opt/bin:
#0 0.410 exec /bin/sh: exec format error
------
Dockerfile:16
--------------------
14 |
15 | # copy backend files
16 | >>> RUN mkdir -p /opt/bin
17 | COPY --from=backend-build /go/bin/crawlab /opt/bin
18 | RUN cp /opt/bin/crawlab /usr/local/bin/crawlab-server
--------------------
ERROR: failed to solve: process "/bin/sh -c mkdir -p /opt/bin" did not complete successfully: exit code: 1
目前运行报错: [+] Running 4/4 ✔ Network crawlab_default Created 0.1s ✔ Container crawlab-mongo-1 Started 18.7s ✔ Container crawlab_master Started 0.8s ! master The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested