-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arm64 arch CPU support in binary and docker #544
Comments
@mr-karan would you like to take a look at this? |
I'm currently working on porting this to ARM and in the testing phase as we speak |
I am currently stumped on this error
I am working on a fix though, just very slowly cause this should work |
Ah great. The packages |
I'm not familiar with Alpine, unfortunately. @mr-karan? |
FYI, I run listmonk on arm64 hardware since a few months using a Docker container. I made a multi-stage I can't help as I didn't know goreleaser, but most probably, the error:
is because the docker image architecture is not the same as the hardware architecture who run the build (eg. image is arm64 and hardware is amd64). Without (With my all-in-one Dockerfile, the common solution is to use |
Yeah, buildx is also one way to solve this. With goreleaser, however it's possible to also use
Regarding Sidenote: I also think it's okay to switch to Ubuntu base for AMD/ARM architectures. The base size of an Ubuntu image is small enough and we don't have to worry about compatibility of packages, but we can keep that as a separate PR. Let me know if you get stuck somewhere, would be happy to debug and help! |
any updates? |
I really wanna run this on my Pi :S |
I experience the same issue with Oracle instances with ARM CPU. I would be great if ARM64 is supported. |
Now that #1249 has been merged, is there a possibility of doing a point release? (2.4.1), so we can start using the binaries |
Hi @navanchauhan. Doing a release just for this will cause every existing installation to do display a perpetual update prompt. Why don't you try compiling it yourself for the time being? |
Makes sense. My install script https://github.com/YunoHost-Apps/listmonk_ynh is currently compiling everything from scratch. The lower powered systems like Raspberry Pi 3/4 (2GB), run out of memory while running yarn install because of how much resources Node takes. For now everything is working, I'll just update it to use the binary whenever they are released. In the meanwhile, I'll also try and make a PR for getting the docker images working |
Any news on this, or anything I could help with? It's currently the only thing stopping me from moving to an ARM server. 😬 |
I've added multiarch support for listmonk in this PR: #1344 For the time being you can build it locally using $ goreleaser release --clean --snapshot
I've tested the images locally, but feel free to try it out and let me know if you have any issues. |
I guess this issue can be closed as successfully done. The latest binaries and Docker images support ARM. |
Whatever AWS graviton2 or new apple M1, ARM CPU becomes more popular. It is great if the docker can provide ARM64 compatible version, same in binary (although I don't need that).
The text was updated successfully, but these errors were encountered: