Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-3208] Produce a container with fabric tools
Currently cryptogen and configtxgen are used to generate fabric PKI and configuration for peer and orderer. Adding these binaries inside of a container might make it easier for developers since at times it can be a little tricky with native binaries to connect to other running containers (e.g. using Docker for Windows) build : make tools-docker clean : make tools-docker-clean usage examples : FABRIC_ROOT=$GOPATH/src/github.com/hyperledger/fabric/ docker run --rm -v $FABRIC_ROOT/examples/e2e_cli/:/etc/hyperledger/fabric \ hyperledger/fabric-tools configtxgen -profile TwoOrgsOrdererGenesis \ -outputBlock /etc/hyperledger/fabric/channel-artifacts/orderer.gen.blk docker run --rm -v $FABRIC_ROOT/examples/e2e_cli/:/etc/hyperledger/fabric \ hyperledger/fabric-tools cryptogen generate \ --config=/etc/hyperledger/fabric/crypto-config.yaml Change-Id: I04b7434a4db00168e1e3ce9f5b91336b92d1f304 Signed-off-by: Mathilde Ffrench <mathilde.ffrench@fr.ibm.com> Signed-off-by: Greg Haskins <gregory.haskins@gmail.com>
- Loading branch information