File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,15 @@ RUN useradd -rm -d /home/cardano -s /bin/bash -g 1001 -G sudo -u 1001 cardano
3939RUN mkdir -p /home/cardano/data/db
4040RUN mkdir /home/cardano/ipc
4141RUN cd /home/cardano && git clone https://github.com/input-output-hk/cardano-configurations.git
42+ RUN cd /home/cardano/cardano-configurations/network/mainnet/cardano-node && \
43+ rm -f config.json topology.json config.json.1 && \
44+ wget https://book.play.dev.cardano.org/environments-pre/mainnet/config.json && \
45+ wget https://book.play.dev.cardano.org/environments-pre/mainnet/topology.json && \
46+ wget https://book.play.dev.cardano.org/environments-pre/mainnet/byron-genesis.json && \
47+ wget https://book.play.dev.cardano.org/environments-pre/mainnet/shelley-genesis.json && \
48+ wget https://book.play.dev.cardano.org/environments-pre/mainnet/alonzo-genesis.json && \
49+ wget https://book.play.dev.cardano.org/environments/mainnet/conway-genesis.json
50+ RUN cd /home/cardano/cardano-configurations/network/mainnet/cardano-node/ && sed -i -e 's/127.0.0.1/0.0.0.0/g' config.json
4251RUN chown -R 1001:1001 /home/cardano/ipc
4352RUN chown -R 1001:1001 /home/cardano/data
4453RUN chown -R 1001:1001 /home/cardano/cardano-configurations
You can’t perform that action at this time.
0 commit comments