eos icon indicating copy to clipboard operation
eos copied to clipboard

Docker fails to build

Open ekkis opened this issue 8 years ago • 3 comments

following the instructions on the Docker page, I've attempted to build an image but the build results in the following error:

[516/1289] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/webassembly/binaryen.cpp.o The command '/bin/sh -c git clone -b master --depth 1 https://github.com/EOSIO/eos.git --recursive && cd eos && cmake -H. -B"/tmp/build" -GNinja -DCMAKE_BUILD_TYPE=Release -DWASM_ROOT=/opt/wasm -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_INSTALL_PREFIX=/tmp/build -DSecp256k1_ROOT_DIR=/usr/local -DBUILD_MONGO_DB_PLUGIN=true && cmake --build /tmp/build --target install' returned a non-zero code: 137

I started from scratch by removing all existing images from docker, removing my previous EOS directory and cloning from github

it's broken. ideas anyone?

p.s. running on OSX 10.11.6 and Docker 18.04.0-cd-rc2

p.p.s. no, I can't built natively as EOS requires >= 10.13 and I'm not upgrading. the newer versions break my access to TimeCapsule and I'm not dealing with that nightmare

ekkis avatar Apr 30 '18 23:04 ekkis

Docker -> Preferences -> Advanced -> Memory -> 8GB or above than try again

andriyha avatar May 04 '18 14:05 andriyha

awesome!! that worked. can we pleeease document this on the docker page?

ekkis avatar May 05 '18 20:05 ekkis

It is actually already documented in the README file in the docker directory. Glad you got this working,

ericiles avatar May 07 '18 13:05 ericiles