cadence-workflow/cadence-web

Add arm64 support

Closed this issue · 2 comments

Hello,

It would be great if we could get support for arm64 as the AWS graviton node sizes increase in popularity.

The docker images (here https://hub.docker.com/r/ubercadence/web) aren't arm64 compatible.

Trying to build it, it appears one of the downstream dependencies restricts OS, possibly unnecessarily.

Cheers.

Did they add it? I am not able to find it.

Hi, just to let you know, we are using the node:fermium-bullseye docker package, which is multi-platform.
https://hub.docker.com/layers/library/node/fermium-bullseye/images/sha256-9b60cdcee9c6a27227689ebf4e7dd422ff195e978ffec360db5c0b3a05e20452?context=explore

fsevents is one of the dependencies, but it's optional and does not block the build.

log from npm install

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})