NoteGio / openrelay

OpenRelay is an open source relay for the 0x protocol. OpenRelay provides an open, scalable orderbook. Users can post offers for any ERC20 or ERC721 token, or search for trades with other users
Other
159 stars 56 forks source link

ARM Builds #134

Open AusIV opened 5 years ago

AusIV commented 5 years ago

Now that AWS has A1 instances, it would be neat if we could include those in our docker host cluster. That would require being able to create multiarch docker images, which would require cross-compiling to ARM.

Normally, cross compilation in Go is pretty easy; it's just a matter of passing GOARCH at build time. However OpenRelay has some C dependencies that don't work with GOARCH. I've been able to get a build up using xgo (https://github.com/karalabe/xgo), but integrating that into our build process seems cumbersome and likely slow.