diff options
author | chriseth <chris@ethereum.org> | 2018-04-04 18:26:34 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-04-04 18:26:34 +0800 |
commit | fa92380af05219cc604ddb1a9a9fadcfe76097c8 (patch) | |
tree | 4dd8d7583bc92d28eecd2c9f4b118ee2cb649c94 /scripts/cpp-ethereum/eth_trusty.docker | |
parent | c63efebd4517d51f29082a8d0cff814a4922243d (diff) | |
download | dexon-solidity-fa92380af05219cc604ddb1a9a9fadcfe76097c8.tar dexon-solidity-fa92380af05219cc604ddb1a9a9fadcfe76097c8.tar.gz dexon-solidity-fa92380af05219cc604ddb1a9a9fadcfe76097c8.tar.bz2 dexon-solidity-fa92380af05219cc604ddb1a9a9fadcfe76097c8.tar.lz dexon-solidity-fa92380af05219cc604ddb1a9a9fadcfe76097c8.tar.xz dexon-solidity-fa92380af05219cc604ddb1a9a9fadcfe76097c8.tar.zst dexon-solidity-fa92380af05219cc604ddb1a9a9fadcfe76097c8.zip |
Add scripts to build the eth binary via docker.
Diffstat (limited to 'scripts/cpp-ethereum/eth_trusty.docker')
-rw-r--r-- | scripts/cpp-ethereum/eth_trusty.docker | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/cpp-ethereum/eth_trusty.docker b/scripts/cpp-ethereum/eth_trusty.docker new file mode 100644 index 00000000..0c4d7a02 --- /dev/null +++ b/scripts/cpp-ethereum/eth_trusty.docker @@ -0,0 +1,7 @@ +FROM ubuntu:trusty + +RUN apt update +RUN apt -y install libleveldb-dev cmake g++ git +RUN git clone --recursive https://github.com/ethereum/cpp-ethereum --branch develop --single-branch --depth 1 +RUN mkdir /build && cd /build && cmake /cpp-ethereum -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTOOLS=Off -DTESTS=Off +RUN cd /build && make eth |