eos icon indicating copy to clipboard operation
eos copied to clipboard

build docker error

Open tinyhill666 opened this issue 8 years ago • 2 comments

Step 19/26 : COPY --from=builder /opt/eosio/bin /opt/eosio/bin COPY failed: stat /var/lib/docker/aufs/mnt/77d84015e0c1b36ede35b28b02861968b83f8e732c9e5e22385ea92cf275cee2/opt/eosio/bin: no such file or directory

tinyhill666 avatar Feb 11 '18 10:02 tinyhill666

I discovered that the build process inside the Dockerfile actually passes an environmental variable to cmake that is not respected by the build. CMAKE_INSTALL_PREFIX is overriden in the installer.cmake file. Instead of /opt/eos the files are in installed directory that the installer.cmake defines.

I was able to fix it by changing the Dockerfile to copy the files from the /eos/build/install/bin directory to /opt/eos/bin.

The Dockerfile in master may be a little different than tags/DAWN-2018-02-14, but I think your problem is the same as mine.

IcculusC avatar Feb 16 '18 04:02 IcculusC

PR #1218 fixes this issue.

ericiles avatar Mar 05 '18 14:03 ericiles