Skip to content
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

Enable arm64 builds #55

Open
2 tasks done
nanu-c opened this issue Jun 16, 2023 · 6 comments
Open
2 tasks done

Enable arm64 builds #55

nanu-c opened this issue Jun 16, 2023 · 6 comments

Comments

@nanu-c
Copy link

nanu-c commented Jun 16, 2023

Classification

Please delete options that are not relevant.

  • Feature/Enhancement

Reproducibility

Please delete options that are not relevant.

  • Always

Description

The images aren't build for arm64 but our new server is. Can we enable the build of arm64 images

image

Steps to reproduce

  1. Run a arm64 vm and try to start the mailserver

Expected results

Mailserver starts

Actual results

Image not found

@AndrewSav
Copy link
Collaborator

I feel this is a hard task that none of the maintainers is likely to take on. If you can get this working, please submit a PR and let's see if we can shepherd it to conclusion. The main obstacle that I see that there are some dependencies that are not available for arm.

@nanu-c
Copy link
Author

nanu-c commented Jun 17, 2023

The mailu mailserver depends on similar components and has an arm64 build and debian has all packages also as arm64. I agree that there is the time constrain of adding support for it and maybe i will look into it, but i see no big obstacles in doing so.

@ksylvan
Copy link

ksylvan commented Mar 11, 2024

If there is still interest in this, I am sure I can make a bit of time and get this done.

@nanu-c @AndrewSav @sknight80 @SaraSmiseth What do you all think?

@SaraSmiseth
Copy link
Member

If it is not too much work I think this would be nice. I have a raspberry pi I could try it on.

What needs to be changed is how we get gucci. It is hardcoded to amd64 right now. Maybe other things as well.

https://github.com/mailserver2/debian-mail-overlay/blob/b57d01053c9d2f8fee94f55459d0e7635f7f3e18/Dockerfile#L115

@nanu-c
Copy link
Author

nanu-c commented Mar 12, 2024

In my opinion this is still relevant because the arm64 servers are now cheaper than the intel ones. And the raspberry pi 5 with 8gb ram is also a good target. But at the same time we have switched to mailcow for the same reason.

@AndrewSav
Copy link
Collaborator

@ksylvan It is nice to have if you have time for that. I have an RPi too, but I'm not sure if it will actually run on that memory and CPU wise. Happy to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants