mailserver2 / mailserver

Simple and full-featured mail server using Docker
https://store.docker.com/community/images/mailserver2/mailserver
MIT License
144 stars 30 forks source link

Enable arm64 builds #55

Open nanu-c opened 1 year ago

nanu-c commented 1 year ago

Classification

Please delete options that are not relevant.

Reproducibility

Please delete options that are not relevant.

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 commented 1 year ago

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 commented 1 year ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

@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.