jessestuart/owntracks-docker

How to install on arm64?

haakonstorm opened this issue · 0 comments

Newbie question:

How do I get this running on arm64, without cross-arch compile?

I have a (swarm) of ODROID-N2 SBC's which are arm64.

My persistent storage is a FreeNAS and shares (over SMB) is properly configured with other containers.
I use Portainer to deploy and manage containers, but in this case I've tried both from my desktop (macOS) and native on the arm64 box, with docker command in the shell.

However, I see there is a ARG target=amd64 on top of the Dockerfile, hence i get "exec format error", probably because amd64 binaries was pulled from amd64/debian.

Building with docker build --platform arm64 --pull -t latest . pulls the same.

How do I specify that I want to build for arm64, on arm64? :-)