eos icon indicating copy to clipboard operation
eos copied to clipboard

Docker Build Fail

Open cqllang opened this issue 8 years ago • 9 comments

When I run docker build . -t eosio/eos

Reported the following error Step 20/27 : COPY --from=builder /opt/eos/bin /opt/eos/bin COPY failed: stat /var/lib/docker/overlay2/d66370d8a0140a0596ce407855eb13790db1a051570b4771bad485381c8853be/merged/opt/eos/bin: no such file or directory

System: Ubuntu 16.04.3 LTS Docker version 17.09.1-ce, build 19e2cf6

How to solve it?

cqllang avatar Jan 19 '18 02:01 cqllang

Same issue for me. I did a clean pull (commit 22acff0c733e1c9eb74d35873fc9e6ca28cab2b7), and ran docker build . -t eosio/eos. Things failed at this point:

Step 20/27 : COPY --from=builder /opt/eos/bin /opt/eos/bin
COPY failed: stat /var/lib/docker/aufs/mnt/96ecbe8bd8c23bf5a3b8486b37e25871f9d24b5d656d5499fdc90a2fadc58c32/opt/eos/bin: no such file or directory

System: Ubuntu 16.04.1 LTS Docker version 17.12.0-ce, build c97c6d6

kryptokah avatar Jan 22 '18 05:01 kryptokah

same problem while building docker image, anyboby help pls?

Amazing110 avatar Jan 23 '18 02:01 Amazing110

same problem.
FROM ubuntu:16.04 as builder # FROM huangminghuang/eos_builder as builder COPY --from=builder /opt/eos/bin /opt/eos/bin COPY --from=builder /tmp/build/contracts /contracts COPY --from=builder /eos/Docker/config.ini /eos/genesis.json we can know that the reason of error is that the builder(ubuntu:16.04) don't contain folder /opt/eos. Also check huangminghuang/eos_builder, but only find start_eosd.sh and data-dir in /opt/eos/bin. is there any wrong with it?

manxiaqu avatar Jan 23 '18 07:01 manxiaqu

Same problem.

System: macOS High Sierra 10.13.2 (17C88) Docker version Docker version 17.12.0-ce, build c97c6d6

atjason avatar Jan 23 '18 15:01 atjason

Hey guys, I made a change to make it work. Please take a look at this PR https://github.com/EOSIO/eos/pull/1184/files

@GabrielNicolasAvellaneda it works, thanks a lot.

atjason avatar Jan 24 '18 02:01 atjason

Glad to hear that. Please don't close this until the PR is merged or closed. Thanks!

could any one upload the compiled binary docker image that I can download it ?

myenglishmail avatar Feb 06 '18 10:02 myenglishmail

This has been resolved with PR #1218

ericiles avatar Mar 05 '18 14:03 ericiles