Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix toplevel docker build #86

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ RUN apt-get update &&\
WORKDIR /
ADD . hydrachain

RUN pip install -U setuptools
RUN pip install --upgrade pip setuptools

# Pre-install hydrachain dependency
RUN pip install secp256k1==0.12.1
RUN pip install secp256k1==0.13.2

WORKDIR /hydrachain
# Reset potentially dirty directory and remove after install
RUN git reset --hard && pip install . && cd .. && rm -rf /hydrachain
WORKDIR /

ENTRYPOINT ["/usr/local/bin/hydrachain"]
CMD ["run"]

# Run multiple nodes in a single process
CMD ["-d", "datadir", "runmultiple", "--num_validators=3", "--seed=42"]
8 changes: 6 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
bitcoin>=1.1.39
rlp>=0.4.3
pyethapp>=1.2.1
secp256k1==0.12.1
pyethapp==1.5.0
secp256k1==0.13.2
simpy==3.0.8

# Added to get upstream pyethapp working
pyelliptic==1.5.7
ethereum>=1.5.1,<2.0