File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ ADD genesis.json /genesis.json
40
40
ADD signer.pass /signer.pass
41
41
{{end}}
42
42
RUN \
43
- echo 'geth --cache 512 init /genesis.json' > /root/ geth.sh && \{{if .Unlock}}
44
- echo 'mkdir -p /root/.ethereum/keystore/ && cp /signer.json /root/.ethereum/keystore/' >> /root/ geth.sh && \{{end}}
45
- echo $'geth --networkid {{.NetworkID}} --cache 512 --port {{.Port}} --maxpeers {{.Peers}} {{.LightFlag}} --ethstats \'{{.Ethstats}}\' {{if .Bootnodes}}--bootnodes {{.Bootnodes}}{{end}} {{if .Etherbase}}--etherbase {{.Etherbase}} --mine --minerthreads 1{{end}} {{if .Unlock}}--unlock 0 --password /signer.pass --mine{{end}} --targetgaslimit {{.GasTarget}} --gasprice {{.GasPrice}}' >> /root/ geth.sh
43
+ echo 'geth --cache 512 init /genesis.json' > geth.sh && \{{if .Unlock}}
44
+ echo 'mkdir -p /root/.ethereum/keystore/ && cp /signer.json /root/.ethereum/keystore/' >> geth.sh && \{{end}}
45
+ echo $'geth --networkid {{.NetworkID}} --cache 512 --port {{.Port}} --maxpeers {{.Peers}} {{.LightFlag}} --ethstats \'{{.Ethstats}}\' {{if .Bootnodes}}--bootnodes {{.Bootnodes}}{{end}} {{if .Etherbase}}--etherbase {{.Etherbase}} --mine --minerthreads 1{{end}} {{if .Unlock}}--unlock 0 --password /signer.pass --mine{{end}} --targetgaslimit {{.GasTarget}} --gasprice {{.GasPrice}}' >> geth.sh
46
46
47
- ENTRYPOINT ["/bin/sh", "/root/ geth.sh"]
47
+ ENTRYPOINT ["/bin/sh", "geth.sh"]
48
48
`
49
49
50
50
// nodeComposefile is the docker-compose.yml file required to deploy and maintain
You can’t perform that action at this time.
0 commit comments