routr icon indicating copy to clipboard operation
routr copied to clipboard

Multiarch images

Open agorgl opened this issue 3 years ago • 1 comments
trafficstars

Thank your for the amazing project! It would be awesome if you could provide multi-arch images specifically for armv7/arm64 variants that could work on ARM clusters (e.g. a k3s cluster running on a fleet of rpi's)

agorgl avatar Aug 20 '22 08:08 agorgl

@agorgl

Thanks a lot for raising this issue.

Rourt v1 will soon enter "maintenance" mode, and we will not add any new capabilities or features.

We hope to announce the next release soon; this capability could make a good addition.

I will leave this open for now. Can we revisit this in about four weeks?

(We also accept PRs)

psanders avatar Aug 24 '22 01:08 psanders

What's the status for arm support?

sayan-futurehook avatar Nov 21 '22 13:11 sayan-futurehook

@sayan-futurehook @agorgl

We recently added arm to our Docker build. Can you try docker fonoster/routr:1.2.0?

psanders avatar Nov 22 '22 17:11 psanders

I am also looking for arm64 support. Additionally due to Raspberry Pi shortages I moved to Debian 10 powered Banana Pi M-5. fonoster/routr:1.2.0 image doesn't seem to be working here. Here's my Arch and OS:

Linux bananapi 4.9.241-BPI-M5 #2 SMP PREEMPT Mon Jun 21 16:29:40 HKT 2021 aarch64 GNU/Linux

Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

When running the image with command:

docker run -it \
    -p 4567:4567 \
    -p 5060:5060 \
    -p 5060:5060/udp \
    -e EXTERN_ADDR=192.168.1.100 \
    -e DATA_SOURCE_PROVIDER=files_data_provider \
    -v $(pwd)/config:/opt/routr/config \
    fonoster/routr

I get this error:

exec /tini: exec format error

Is this due to the fact its BPI? Can anyone confirm this image actually works on arm64 RPI as I currently don't have one to test.

KrisMie avatar Dec 05 '22 09:12 KrisMie

@KrisMie I feel like we are missing something important. I was able to run Routr 1.2.x on the new Macs. I'm thinking on setting up a Pi and do some testing, since it looks like more and more people are interested on this.

psanders avatar Dec 06 '22 22:12 psanders

For K8s it seems that there is the ARM64 Image missing for requester and edgeport what has to be done to support ARM64 here?

kanimaru avatar Jun 20 '23 19:06 kanimaru

@kanimaru, if I recall correctly, the base image doesn't support ARM. We will need to research and test using other images.

psanders avatar Jun 21 '23 13:06 psanders

This issue was solved in v2.6.0.

psanders avatar Nov 28 '23 23:11 psanders