jamiNS-docker/Dockerfile

14 lines
602 B
Docker

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