New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a 'Binary' builder #3649
Comments
It might be nice to follow a similar pattern to the k8s builder and include details of the chaincode binary in a
That would potentially allow chaincode to be downloaded by the builder using |
Worth mentioning that all the peers in the same organisation would need to be on the same architecture to install the chaincode, and they would not be able to move to a new architecture. The intention for this builder is to improve the first use of Fabric, rather than for production networks, so that should be ok. |
Possibility to go even further and add a signature verification of the binary maybe? But for development that might well be excessive - a checksum at minimum though. So this would be a single checksum per organization... |
Signature verification would be nice to have in a production environment but it's possibly excessive for this use case. That could certainly be included if the demand was there though. There could potentially be a single checksum for all organisations if they share the chaincode implementation, but certainly no more than one checksum per organisation. |
This sounds reasonable to me, as a way to make building and deploying chaincode simpler for people trying out Fabric, while removing the docker-in-docker dependence. |
The current CCaaS builder is great for chaincode development and debugging however it is not simple enough when trying out Fabric for the first time. The old built in docker-in-docker chaincode support is superficially simpler but often causes problems when the chaincode fails to build, which can be hard to debug.
While a simple binary builder is unlikely to be suitable in a production environment, it would provide a more robust mechanism to deploy chaincode out of the box and give a better first impression. It may also make it possible to deprecate the old docker-in-docker approach in v2.5 and remove that mechanism completely in v3, although that would also depend on the ability to package Binary (and CCaaS) chaincode.
cc @denyeart @mbwhite
The text was updated successfully, but these errors were encountered: