Any luck building from source on Arm64 (Raspberry PI)?

Hello, has anyone had success building n8n from source on Arm64?

I’ve tried node LTS 10, 12, and 14 without success. 14 has some obscure build exec EPIPE errors related to the gui package, 10 and 12 have a library that throws an alert that it doesn’t support Arm64. I’ve had no issue with running the n8n release versions however. Only trying this because of the convenience of developing on the same machine I’m running n8n.

OS: Kubuntu 20.04 (Arm64)
Hardware: Raspberry PI 4

Hey @Chris-Hayes!

I don’t much knowledge about ARM64 and Raspberry PI. But we have a Docker image for Raspberry Pi. You can checkout the Docker image here: https://github.com/n8n-io/n8n/tree/master/docker/images/n8n-rpi

1 Like

Hey @Chris-Hayes,

I have created a Multi-Arch Docker-Image which includes arm64 :wink:

You will find the Image here: Docker Hub

The Dockerfile is the same as the one from the n8n-rpi image, but I use Buildx to create a Multi-Arch-Image for amd64, arm and arm64: GitHub - ThisIsBenny/n8n: This Repo provides a Dockerfile + GitHub Action Workflow to create a MultiArch Docker Image for the Workflow App n8n.

I hope this will help you :slight_smile:

Regards Benny

3 Likes

Hi @Chris-Hayes and others,

I’m using @ThisIsBenny Docker image. I did this command:

docker pull thisisbenny/n8n

and then this command:

docker run -d --name n8n -p 5678:5678 <imageHashHere>

And I was up and going! Nice! :slight_smile:

Just to be complete the n8nio/n8n docker image works on a pi4 as well that is the one I have been using with no issue.

It is mentioned in the original post that the release versions run fine it is when compiling the error occurs.

@Chris-Hayes did you ever get it compiling?