Skip to content

Commit

Permalink
Use locally build container because of #5
Browse files Browse the repository at this point in the history
You can build the container with `make setup`.
  • Loading branch information
konradkonrad committed Jun 3, 2016
1 parent 87c1eaf commit 6af24e7
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# build with `docker build -t localethereum/client-python .`
FROM python:2.7.11

RUN pip install pyethapp
ENTRYPOINT "/usr/local/bin/pyethapp"
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
setup:
docker build -t localethereum/client-python .
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ Sometimes you maybe want to run your own little ethereum network. This is how yo
# PREREQUISITES
- install docker
- install docker-compose (`pip install -r requirements.txt`)
- prepare the client container by running

make setup

## TODOS
- determine working docker versions
- determin working docker-compose version
- fix upstream `dockerhub/ethereum/client-python`

# WHAT'S IN THE BOX?
This repository contains two examples:
Expand Down
8 changes: 4 additions & 4 deletions simple/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bootstrap:
image: ethereum/client-python
image: localethereum/client-python
container_name: bootstrap
entrypoint: /usr/local/bin/pyethapp
command: "-c eth.network_id=1337 -c node.privkey_hex=091bd6067cb4612df85d9c1ff85cc47f259ced4d4cd99816b14f35650f59c322 -b 'enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@localhost:30303' run --fake"
Expand All @@ -8,21 +8,21 @@ bootstrap:
- 127.0.0.1:30304:30303/udp

eth:
image: ethereum/client-python
image: localethereum/client-python
links:
- bootstrap
entrypoint: /usr/local/bin/pyethapp
command: "-c eth.network_id=1337 -b 'enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@bootstrap:30303' run --fake"

miner:
image: ethereum/client-python
image: localethereum/client-python
links:
- bootstrap
entrypoint: /usr/local/bin/pyethapp
command: "-c eth.network_id=1337 -b 'enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@bootstrap:30303' -m 50 run --fake"

debug:
image: ethereum/client-python
image: localethereum/client-python
container_name: debug
links:
- bootstrap
Expand Down
2 changes: 1 addition & 1 deletion with-netstats/monitored-client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ethereum/client-python
FROM localethereum/client-python

RUN apt-get update &&\
apt-get install -y curl git-core &&\
Expand Down

0 comments on commit 6af24e7

Please sign in to comment.