AMP-dockerized icon indicating copy to clipboard operation
AMP-dockerized copied to clipboard

Feature Request: ARM64/aarch builds

Open docgalaxyblock opened this issue 2 years ago • 4 comments

At the moment I am upgrading to Proxmox 7.x and reworking some parts of my homlab. I found you container and thought that sounds like a good AMP controller. Then I realized there are currently no ARM64/aarch images

Now I like to give you a hint that a dockerized amp controller on a Raspberry Pi could be a good solution. Also with the current development towards ARM on the part of Apple & more, ARM builds could become more interesting.

I think crossbuild should be possible through Github actions but I am not sure

Greetings 😉

docgalaxyblock avatar Sep 06 '21 08:09 docgalaxyblock

Hey I'd love to add support for this! Do you know of any resources for building aarch64 images with GH actions? I'll do some digging myself too.

MitchTalmadge avatar Sep 07 '21 23:09 MitchTalmadge

Hi, I have no clue but I found something this morning https://www.youtube.com/watch?v=5yeeMdhGgrE

docgalaxyblock avatar Sep 08 '21 08:09 docgalaxyblock

I am trying to get this to work but the build is crashing while installing ca-certificates-mono:

https://github.com/MitchTalmadge/AMP-dockerized/runs/4149061530?check_suite_focus=true

MitchTalmadge avatar Nov 09 '21 07:11 MitchTalmadge

#108 I was able to successfully create and run an arm64 build with a modified dockerfile. There is an issue while amp instance is being created.

SahajJain01 avatar Jan 05 '22 05:01 SahajJain01

#140 should make it work completely, based on the work @SahajJain01 did in #108. I tested building and running both amd64 and arm64 images, both completely successful in my testing.

rekonnected avatar Nov 01 '22 00:11 rekonnected

Late response; does this mean that we can get it to work on M1 MacOS hosts? I've got a Mac Mini that I'd like to use with AMP but they don't seem to have any distributions for MacOS.

AverageCakeSlice avatar Jan 27 '23 21:01 AverageCakeSlice

#140 doesn't add any specific configuration for macOS hosts, but assuming docker running on M1 macOS identifies as or accepts "linux/arm64" which it seems to per this link, then it should work fine, though I haven't tested it on my M1P MBP yet. I'll see if I can test it out soon.

rekonnected avatar Jan 27 '23 21:01 rekonnected

Added ARM64 support to the latest release. Please test and open a new issue if something doesn't work. Thank you!

MitchTalmadge avatar Nov 12 '23 18:11 MitchTalmadge