Created
July 7, 2014 11:19
-
-
Save jorisbontje/20041c705de7b9ddbdcc to your computer and use it in GitHub Desktop.
cpp-ethereum Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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