forked from cerc-io/plugeth
dffaa678f9
641ebaa Merge branch 'develop' of https://github.com/ethereum/tests into develop 8e44fd4 possibility to launch more than one machine 5498fd5 2 more python fails 99268f3 update random test simulation files 170485e Merge remote-tracking branch 'origin/develop' into develop 4fcdf8f new python fails e67b68a Merge branch 'develop' of https://github.com/ethereum/tests into develop 3f45f18 BlockRLPTests block fields prefixed with 0000 9fa9bbd Merge pull request #78 from wanderer/develop 222c2b4 update block tests 9d844dd python fails 05233a4 update blockchaintests 7dc0aa2 update JS_API_Test blockchain 6daf1cc added JS_API_test blockchain e878f7e consitant address format 0e246ce python fail 57ea9a0 random failures 95934e0 add test for callcode to 0 13b8cd2 new python failures 9e60453 remove empty tests ca6dfa9 uncle older than 6 generation test cf7e950 some random failures 282090e update gas limits + uncle generation test bb4c1f4 cppjit failure cda9d4c more random failures 31ac17a add calldataload big offset test f6b8e28 remove seedhash and update blockchain tests ad69f9d add addmod test in order toc check that nothing get downcasted inbetween 38b7db2 a failing test b9149b5 Merge remote-tracking branch 'origin/develop' into develop 5bea708 more failing tests 478a07d fix missing comma 6d82797 Merge remote-tracking branch 'origin/develop' into develop 2f380e2 random fails 3cd0ce7 Merge pull request #75 from romanman/develop afa0a43 Update crypto.json 1b9b7b8 Introduce ECIES crypto test git-subtree-dir: tests/files git-subtree-split: 641ebaa3cf257c08838c707bebb481d61e708f95
47 lines
2.0 KiB
Docker
47 lines
2.0 KiB
Docker
# adjusted from https://github.com/ethereum/cpp-ethereum/blob/develop/docker/Dockerfile
|
|
FROM ubuntu:14.04
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
RUN apt-get update
|
|
RUN apt-get upgrade -y
|
|
|
|
# Ethereum dependencies
|
|
RUN apt-get install -qy build-essential g++-4.8 git cmake libboost-all-dev libcurl4-openssl-dev wget
|
|
RUN apt-get install -qy automake unzip libgmp-dev libtool libleveldb-dev yasm libminiupnpc-dev libreadline-dev scons
|
|
RUN apt-get install -qy libjsoncpp-dev libargtable2-dev
|
|
|
|
# NCurses based GUI (not optional though for a succesful compilation, see https://github.com/ethereum/cpp-ethereum/issues/452 )
|
|
RUN apt-get install -qy libncurses5-dev
|
|
|
|
# Qt-based GUI
|
|
# RUN apt-get install -qy qtbase5-dev qt5-default qtdeclarative5-dev libqt5webkit5-dev
|
|
|
|
RUN sudo apt-get -y install software-properties-common
|
|
|
|
# LLVM-3.5
|
|
RUN wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
|
|
RUN echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.5 main\ndeb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.5 main" > /etc/apt/sources.list.d/llvm-trusty.list
|
|
RUN apt-get update
|
|
RUN apt-get install -qy llvm-3.5 libedit-dev
|
|
|
|
# Fix llvm-3.5 cmake paths
|
|
RUN mkdir -p /usr/lib/llvm-3.5/share/llvm && ln -s /usr/share/llvm-3.5/cmake /usr/lib/llvm-3.5/share/llvm/cmake
|
|
|
|
|
|
# Ethereum PPA
|
|
RUN apt-get install -qy software-properties-common
|
|
RUN add-apt-repository ppa:ethereum/ethereum
|
|
RUN apt-get update
|
|
RUN apt-get install -qy libcryptopp-dev libjson-rpc-cpp-dev
|
|
|
|
# this is a workaround, to make sure that docker's cache is invalidated whenever the git repo changes
|
|
ADD https://api.github.com/repos/ethereum/cpp-ethereum/git/refs/heads/develop unused.txt
|
|
|
|
# Build Ethereum (HEADLESS)
|
|
RUN git clone --depth=1 --branch develop https://github.com/ethereum/cpp-ethereum
|
|
RUN mkdir -p cpp-ethereum/build
|
|
RUN cd cpp-ethereum/build && cmake .. -DCMAKE_BUILD_TYPE=Debug -DVMTRACE=1 -DPARANOIA=1 -DEVMJIT=1 && make -j $(cat /proc/cpuinfo | grep processor | wc -l) && make install
|
|
RUN ldconfig
|
|
|
|
ENTRYPOINT ["/cpp-ethereum/build/test/checkRandomStateTest"]
|