-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
error build peer v2.5 with pkcs11 #3867
Comments
the problem here: https://github.com/hyperledger/fabric/blob/release-2.5/images/tools/Dockerfile#L27 github.com/hyperledger/fabric/images/tools/Dockerfile ENV CGO_ENABLED 0 |
Hi @pfi79 Apologies for the regression. The tendrils between the Makefile, Dockerfile, and release.yaml GitHub are deeply intertwined. Working in this area of Fabric is like arm-wrestling an octopus. Would you please check if the following additions will enable the pkcs11 / Docker images in your target environment? The code in this area is quite subject to customization - if you are running with an HSM or some other extensions in the Docker file, please describe them in this ticket. Note that the following updates will BREAK some other area of the Fabric builds. What I would like to understand is if running a static link against libmusl for the libc on Alpine will work with your PKCS11-enabled Docker image.
(Note that
|
cc: @davidkel |
@jkneubuh Great. I will check your references. And I'll write. |
Thank you very much. I checked. I got everything together. I can close the issue |
make tools-docker GO_TAGS=pkcs11
or
CGO_ENABLED=0 go build -tags "pkcs11" -v
output:
The text was updated successfully, but these errors were encountered: