Skip to content

clearmatics/istanbul-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Istanbul-tools Docker image

Dockerfile to host the istanbul-tools binary in a go:alpine image.

It will:

  • check condition: if /efs/shared/genesis.json NOT exist
  • load /efs/shared/config.toml from EFS
  • generate Istanbul extra-data
  • load genesis.json template from ConfigMap genesis-template
  • add Istanbul extra-data to genesis and generate /efs/shared/genesis.json

Usage:

Container:

docker run -it --name init04 init04 /efs/shared /genesis-template/genesis.json

Usage: write_genesis.py [-h] -t TEMPLATE_PATH -f GENESIS_PATH -e EXTRA

Generate genesis.json file

optional arguments:
  -h, --help        show this help message and exit   
  -t TEMPLATE_PATH  Path to template file for genesis.json   
  -f GENESIS_PATH   Path to genesis.json   
  -e EXTRA          Encoded Istanbul extra-data   

About

Docker image to host getamis/istanbul-tools

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published