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
[FEATURE] arm64 / aarch64 support for docker #1220
Comments
It is possible, that's not the issue. The issue is that currently, Github Actions don't run native ARM workers yet, and so it is very slow to build the arm-based images on our current CI pipeline. I'm not in the position nor want to run a dedicated CI system just for this pipeline. |
Could the official Dockerfile at least be updated to allow building on arm64 without requiring a patch? |
Since aarch64-images are a niche anyways I am not talking about providing pre-built images but rather a Dockerfile. If there were an official Dockerfile I and lots of people would be able to test it on different machines. |
I had to change a lot to get this to build, some of them are things I don't properly understand why they work. Since the aarch64 Dockerfile wouldn't be compatible with x86 systems, I would recommend moving the Dockerfile to a Dockerfile.amd64 and adding a Dockerfile.aarch64 |
Thanks for the Docker file! I'm also runnig the server on a Oracle Cloud |
Hi, I haven't yet build a image in docker (portainer) myself and i am struggeling to use your code, i seem to get a error at step 19/36 "COPY failed: file not found in build context or excluded by .dockerignore: stat go.mod: file does not exist" Any idea what I can do to make it run? |
@3Dieuwer Building images with portainer is not really possible.
If it doesn't work, shoot me an e-mail to hello@oskar.global |
Also, @LordRalex, I would be able to distribute pre-build images myself, right? That should comply with the Apache License |
So I got the docker images to build with github actions, don't know if its reasonably usable since every build takes ~45min. For anyone who needs it, you can now find unofficial, pre-build images by me @ https://github.com/oskardotglobal/pufferpanel-docker-arm/pkgs/container/pufferpanel |
I was able to get Pufferpanel to run on a Oracle Cloud Ampere A1 machine with the following Dockerfile:
I had to split up some commands because else it wouldn't run at all. I also replaced
swag
with the aarch64 version. I then built the image manually. It works perfectly, so it is definetly possible to add officially supported arm64 images.The text was updated successfully, but these errors were encountered: