vere icon indicating copy to clipboard operation
vere copied to clipboard

Docker: Multi-Arch Support

Open mopfel-winrux opened this issue 2 years ago • 2 comments

The official docker image should support both amd64 and arm64 virtualization.

ARM is slowly becoming the cheapest and most energy efficient way to run servers. Having an official docker image will make running Vere on devices like Raspberry Pi's (and clones) much easier.

Currently the docker image is built using Bazel's docker build functionality. This however only seems to allow one arch type at a time.

Native Planet is currently doing automated multiarch builds using docker's buildx command. This is automated using our jenkins build server. This is all to say that we can build a docker image without using Bazel if necessary. The repo can be found https://github.com/Native-Planet/urbit-docker.

mopfel-winrux avatar Feb 14 '23 15:02 mopfel-winrux

I believe arm builds have to wait for this to get merged upstream: https://github.com/bazelbuild/rules_docker/pull/2087

yapishu avatar Feb 15 '23 17:02 yapishu

https://github.com/bazelbuild/rules_docker/pull/2087#issuecomment-1431819817

Well, that doesn't look good.

belisarius222 avatar Feb 16 '23 15:02 belisarius222