fermyon / installer

Fermyon Installer
https://fermyon.dev
Apache License 2.0
160 stars 39 forks source link

Native arm64 support for the local installer #117

Open jpflueger opened 1 year ago

jpflueger commented 1 year ago

I have been using the local installer on a raspberry pi arm64 device running Ubuntu 22.04. I've run into several issues where it looks like the nomad jobs for bindle and hippo are referencing amd64 binaries. I just wanted to open this issue to tie together some of the other issues that I've filed so that once they're fixed we can update the installer with arm64 compatible binaries.

bindle-server

The bindle-server binary in this repository is compiled for x86_64:

❯ file local/bindle/bindle-server 
local/bindle/bindle-server: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), static-pie linked, stripped

Bindle should have a release for aarch64 but it currently isn't found in any of the release artifacts.

deislabs/bindle Issue 325

hippo

The hippo binary is also seemingly x64 only based on the nomad job:

...
    task "hippo" {
      driver = "raw_exec"

      artifact {
        source = "https://github.com/deislabs/hippo/releases/download/${var.hippo_version}/hippo-server-${var.os}-x64.tar.gz"
      }
...

deislabs/hippo Issue 1335 deislabs/hippo PR 1336