未验证 提交 2ae61517 编写于 作者: K Kevin Heifner 提交者: GitHub

Merge pull request #2825 from EOSIO/docker-fixes

Docker fixes for #2672 #2480 [skip-ci]
......@@ -73,3 +73,9 @@ RUN git clone --depth 1 --single-branch --branch master https://github.com/ucb-b
&& mv ../../source/include /opt/berkeley-softfloat-3/include && cd - && rm -rf berkeley-softfloat-3
ENV SOFTFLOAT_ROOT /opt/berkeley-softfloat-3
RUN 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 -DSecp256k1_ROOT_DIR=/usr/local -DBUILD_MONGO_DB_PLUGIN=true \
&& cmake --build /tmp/build --target install && rm -rf /tmp/build /eos
......@@ -7,12 +7,6 @@ if [ -f '/opt/eosio/bin/data-dir/config.ini' ]; then
cp /config.ini /opt/eosio/bin/data-dir
fi
if [ -f '/opt/eosio/bin/data-dir/genesis.json' ]; then
echo
else
cp /genesis.json /opt/eosio/bin/data-dir
fi
if [ -d '/opt/eosio/bin/data-dir/contracts' ]; then
echo
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册