Skip to content

Instantly share code, notes, and snippets.

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
RUN cd cryptopp && scons --shared --prefix=/usr
RUN git clone --depth=1
RUN cd libjson-rpc-cpp/build && cmake .. && make && make install && ldconfig
RUN git clone --depth=1 --branch=develop
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.