-
Notifications
You must be signed in to change notification settings - Fork 242
Closed
Description
Running a Docker build on an M1 based Mac with the following command:
docker build -t hyperledger/firefly .
Results in the following:
------
> [fabric-builder 10/10] RUN ./bin/peer lifecycle chaincode package /firefly/smart_contracts/fabric/firefly-go/firefly_fabric.tar.gz --path /firefly/smart_contracts/fabric/firefly-go --lang golang --label firefly_1.0:
#36 0.251 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
------
The dockerfile pulls x86_64 specific binaries for Fabric to build the chain code right now. My guess is that because there is an arm64 version of Go's Alpine image (which is what we're using for building), Docker pulls that, then tries to run x86_64 binaries on it, which obviously won't work.
Fabric doesn't currently provide arm64 binaries, so I'll see if I can force this build step to run on a x86_64 container
Metadata
Metadata
Assignees
Labels
No labels