jamiNS-docker/Dockerfile

14 lines
602 B
Docker
Raw Normal View History

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