Closed waymobetta closed 3 years ago
Considering @P1sar could not replicate the bug, and I could also not replicate after switching to a non-AppleM1 chip MacBook also running most updated macOS Big Sur 11.3.1..
This is a bug likely relating to the new Apple M1 CPU
Thanks to @ansermino , was able to resolve the issue by asking Docker to use the amd64 library, required for the linked library to exist.
Reference: https://github.com/nodejs/help/issues/3239
Example:
docker build . --platform=linux/amd64
Expected Behavior
Dockerfile should build and execute chainbridge-celo binary within container without error
Current Behavior
Build fails at instruction: RUN go mod download
Possible Solution
Steps to Reproduce (for bugs)
docker build --no-cache .
(build and run local changes to repo, i.e. a simple log)Screenshot
Versions
ChainBridge commit (or docker tag): chainbridge-solidity version: n/a chainbridge-substrate version: n/a Go version: 1.16.2