vechain/thor

Support ARM based architectures such as Amazon EC2 Graviton2 CPUs

kgapos opened this issue · 3 comments

Given the strong focus of vechain on sustainability, I think it makes sense that you add docker support running nodes on energy efficient ARM based architectures, such as Amazon EC2 Graviton2 CPUs. There are Graviton EC2 instances that are optimized for IO, making them excellent platforms for our nodes. These instances come with a >60% reduction in energy consumption and a corresponding reduction on the already excellent carbon footprint of AWS, over 95% renewable in Ireland and some other regions.

You currently publish docker containers only for linux/amd64. Therefore, we will need to build a new docker image that targets the ARM architecture. I think Graviton2 needs linux/arm64/8 but please confirm this.

I can implement this on my own, but I think there is value in offering this option in the official vechain docker hub registry, so that others may quickly and easily optimize their energy efficiency and reduce their carbon footprint.

Expected behavior

I should be able to run the vechain node on ARM based architectures such as Amazon EC2 Graviton2 CPUs.

Actual behavior

According to vechain docker hub, only linux/amd64 is supported.

The current codebase supports ARM-based OSs. We need to add ARM-based docker images in the publishing process, I am exploring adding the GitHub registry as a secondary docker registry, will do it then. Thanks!

Hi @kgapos, please take a look at #577 linux/arm64 has been added.

Awesome, looking forward to the next release!