Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cpp-ethereum Dockerfile
FROM ubuntu:14.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -qy build-essential g++-4.8 git cmake libboost-all-dev
RUN apt-get install -qy automake unzip libgmp-dev libtool libleveldb-dev yasm libminiupnpc-dev libreadline-dev scons
RUN apt-get install -qy libncurses5-dev libcurl4-openssl-dev
RUN git clone --depth=1 https://github.com/mmoss/cryptopp.git
RUN cd cryptopp && scons --shared --prefix=/usr
RUN git clone --depth=1 https://github.com/cinemast/libjson-rpc-cpp.git
RUN cd libjson-rpc-cpp/build && cmake .. && make && make install && ldconfig
RUN git clone --depth=1 --branch=develop https://github.com/ethereum/cpp-ethereum
RUN mkdir cpp-ethereum/build
RUN cd cpp-ethereum/build && cmake .. -DCMAKE_BUILD_TYPE=Release -DHEADLESS=1 && make -j $(cat /proc/cpuinfo | grep processor | wc -l) && make install && ldconfig
#ENTRYPOINT ["/usr/local/bin/eth"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.