This repository has been archived by the owner on Oct 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47572e8
commit 6b2827b
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM ubuntu:14.04 | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
RUN apt-get update | ||
RUN apt-get upgrade -y | ||
|
||
RUN apt-get install -qy wget | ||
RUN apt-get install -qy build-essential g++-4.8 automake libtool unzip git cmake | ||
RUN apt-get install -qy libncurses5-dev libgmp-dev libgmp3-dev libboost-all-dev libleveldb-dev yasm libminiupnpc-dev | ||
RUN apt-get install -qy qtbase5-dev qt5-default qtdeclarative5-dev libqt5webkit5-dev | ||
|
||
RUN mkdir /cryptopp562 | ||
RUN cd /cryptopp562 && wget http://www.cryptopp.com/cryptopp562.zip && unzip cryptopp562.zip | ||
RUN cd /cryptopp562 && make -j $(cat /proc/cpuinfo | grep processor | wc -l) && make install | ||
|
||
RUN git clone --depth=1 https://github.com/ethereum/cpp-ethereum | ||
RUN mkdir cpp-ethereum/build | ||
RUN cd cpp-ethereum/build && cmake .. -DCMAKE_BUILD_TYPE=Release && make -j $(cat /proc/cpuinfo | grep processor | wc -l) && make install | ||
|
||
ENTRYPOINT ["/usr/local/bin/eth"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Dockerfile for cpp-ethereum | ||
Dockerfile to build a bleeding edge cpp-ethereum docker image from source | ||
|
||
docker build -t cppeth < Dockerfile | ||
|
||
Run a simple peer server | ||
|
||
docker run -i cppeth -m off -o peer -x 256 | ||
|
||
GUI is compiled but not exposed. You can mount /cpp-ethereum/build to access binaries: | ||
|
||
cid = $(docker run -i -v /cpp-ethereum/build cppeth -m off -o peer -x 256) | ||
docker inspect $cid # <-- Find volume path in JSON output | ||
|
||
You may also modify the Docker image to run the GUI and expose a | ||
ssh/VNC server in order to tunnel an X11 or VNC session. | ||
|
6b2827b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TeamCity Ethereum :: Cpp Ethereum Build 354 is now running
6b2827b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TeamCity Ethereum :: Cpp Ethereum Build 354 outcome was SUCCESS
Summary: Running Build time: 0:11:31
6b2827b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @chulsupark!
Please could you let me know your name and an e-mail address for you?
It is in relation to this cpp-ethereum re-licensing effort!
You contributed this Dockerfile :-) Thanks!
ethereum/webthree-umbrella#530