jamiNS-docker/Dockerfile

12 lines
552 B
Docker
Raw Normal View History

2019-05-21 18:40:45 +00:00
FROM ethereum/client-go:stable
RUN apk add curl
WORKDIR /install
RUN curl https://raw.githubusercontent.com/savoirfairelinux/ring-nameservice/master/instructions/genesis.json -o genesis.json
RUN geth --datadir /home/username/jamichain init genesis.json
ENTRYPOINT ["geth" , "--datadir=/home/username/jamichain" , "--syncmode=full" , "--networkid", "1551" , "--bootnodes", "enode://11ba6d3bfdc29a8afb24dcfcf9a08c8008005ead62756eadb363523c2ca8b819efbb264053db3d73949f1375bb3f03090f44cacfb88bade38bb6fc2cb3d890a5@173.231.120.228:30301" , "console"]