-
Notifications
You must be signed in to change notification settings - Fork 129
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
Add ARM-Devices support #122
Comments
Can not build it on aarch64 (apache/Dockerfile), do get the following error message and have no glue what that should mean:
|
Alpine is very specific, it could be, that some packages are missing or have different names, or other odd issues |
Any chance this is going to get an arm64 docker image soon? I'm wanting to deploy this into my AWS ECS environment but it's failing because it's running in the arm64 architecture. |
@jdavidbakr I'm afraid not. We'd welcome pull requests for this but we're not actively develop an arm branch at this time. |
I can work on this, are contributions welcome to make the roundcube image work for as much archs as possible ? I would of course use docker buildx, see examples in: https://github.com/sudo-bot/nut-upsd |
@williamdes Yes, contributions are very welcome. So far we're building the images directly on Docker Hub via Webhooks. We should check whether that's still possible for other archs, too. |
Well I think this will not be possible but the easy alternative is to make the webhooks trigger a workflow in this repository that will launch the build Let me know what you prefer Docker buildx does not work with Docker Hub as far as I know |
That's fair enough. I think we can go with this. Let's first get the Dockerfiles right and then see how we can best automate the builds. Thanks a lot for your efforts! |
I received this from Docker hub |
@williamdes yes, i saw that announcement too. We will, however, apply for the open source program but in parallel I’ll also read into Github’sDocker services. |
I will be contributing soon to fix this arm problem :) I just deployed my Docker Mailserver replica on my RaspberryPi |
Me too. Roundcube is very necessary |
Starting to work on it will update this summary:
|
Hi @J0WI Seeing the monstrous time it takes to build multi arch: https://github.com/williamdes/roundcubemail-docker/actions/runs/1144445590 |
What is the current state of the arm image? I don't have a lot of docker image build knowledge, but if I can help, please do tell! :) |
Hey, it looks like GitHub Actions are now used on mainline - is the plan to add the arm build or do you intend to stay on dockerhub builds? I believe there you can also build for arm. |
Hi @J0WI |
Sure, see #31 |
For anyone wanting to build for arm/arm64, it is very easy. Just clone the repo and choose a version/directory and build from the dockerfile. I built directly on my pi 4 with buildx. Install the buildx alias first Then just run the docker build command (fpm one worked for me) |
Github does support buildx. I already use it to make multi-arch images with this action: https://github.com/ZsBT/haproxy-quic/blob/main/.github/workflows/docker-image.yml I'd be happy to help if you accept PRs. |
I think you can open a PR using buildx |
PR #200 sent, workflow awaiting approval |
Implemented in #201 |
I've just tested on both 64-bit and 32-bit arm systems, the containers start properly. |
Hi @dockerpirate |
Please add arm-devices support (e.g. armv7, armv8), it works easy with docker buildx
https://docs.docker.com/docker-for-mac/multi-arch/
The text was updated successfully, but these errors were encountered: