CardanoSolutions / ogmios

❇️ A WebSocket JSON/RPC bridge for Cardano
https://ogmios.dev
Mozilla Public License 2.0
303 stars 90 forks source link

Provide pre-compiled arm64 binaries #255

Closed pyromaniac3010 closed 2 years ago

pyromaniac3010 commented 2 years ago

Describe your idea, in simple words.

It would be great to have a pre-compiled arm64 binary on the release page available.

Why is it a good idea?

Cloud providers offer cheaper priced instances with arm64 processors.

Are you willing to work on it yourself?

I could test the arm64 binaries on my infrastructure

KtorZ commented 2 years ago

This is indeed in the making. We are looking into adding ARM support for the docker image, which will probably demand that we get static arm64 binary first.

theshashankpal commented 2 years ago

Hi @pyromaniac3010 , This issue seems to be a good initiation of my journey towards contribution to FOSS projects. Can you please assign this to me?

KtorZ commented 2 years ago

@theshashankpal I am currently experimenting with cross compiling using Haskell.nix; so far, it's building :crossed_fingers:, I'll let you know how it goes and if it doesn't work, I am more than happy to get some assistance :)

KtorZ commented 2 years ago

It didn't work as planned in the end: https://github.com/input-output-hk/haskell.nix/issues/1652

pyromaniac3010 commented 2 years ago

The arm64 binaries (non docker) could be used to improve the easy installation with https://github.com/cardano-community/guild-operators. I'm currently working on some patches there to make koios work on arm64 instances.