-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 support for creating Arm64 Linux images #2552
Comments
Hi @rickardp, |
Hi! Hopefully, this approach will be changes in the future as we see the increasing demand on Arm64. |
I see your point. My use case is useless without any way to run the agent anyway, so this request was about getting a complete solution, including a place to run my images. I'm sure there is a use case for running build agents on Arm Mac mini's etc, but mine was about cloud hosted arm64 images. I hope you guys reconsider this eventually as Arm will be an important use case. |
Would it be possible to use multiarch/qemu-user-static as dakale suggests in https://github.521000.bestmunity/t/testing-against-multiple-architectures/17111/7? |
@ArniDagur you definitely can or you can use official Docker actions for setting up |
For what it is worth, I tried that, and it's super slow... Build takes 5 times as long |
@AlenaSviridenko Any update on this? https://azure.microsoft.com/en-us/updates/azure-devops-pipelines-introduces-support-for-linuxarm64/ Edit: I see now that it's about Azure Pipelines, not cloud instances. I guess you have to wait for them to offer arm64 VMs. In that case, sorry for the noise. |
Correct, that is about support of arm64 for self-hosted machines, we have to wait for arm64 in Azure. |
This is being tracked here: actions/runner-images#2552 This action looks interesting, but fails (predictably) with a message about the image not matching the host: https://github.com/uraimo/run-on-arch-action A self-hosted runner (i.e. my personal laptop!) would be possible, but can execute arbitrary code, so I'm not going to do that in a public repo like this one. See https://docs.github.com/en/actions/hosting-your-own-runners/adding-self-hosted-runners
This appears to now be supported by Azure, could someone take a look at this issue again? https://azure.microsoft.com/en-us/updates/azure-devops-pipelines-introduces-support-for-linuxarm64/ |
@L1ving See few comments above ^^ |
That's why I'm making a comment, it looks like it's supported on non-self hosted runners as well? |
Oh. I pasted the wrong link |
Should we re-open this issue since now it should be possible to use arm64 with GH ? |
…res" This reverts commit 4438386. Waiting for actions/runner-images#2552. Signed-off-by: Gaoyang Zhang <[email protected]>
Thanks @panekj for sharing! @ericdallo Yeah we need ARM64 Linux images so that can build in GitHub Actions soon! This will be very useful for developers. |
@jerrychong25 ARM64 Docker Images can be build on AMD64 runners. See https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md |
Sure but it's super slow when building large images. |
Yes, hope that there is new ARM64 Linux images that can run normal speed like currently working Github Actions Linux images. |
I saw that a similar ticket was closed because it was a duplicate of this issue. Could this one then be reopened or will Linux on ARM64 not happen? |
@AlenaSviridenko can this issue be reopened please as it now see to be doable (azure support arm images)? |
I guess this is now tracked in #5631 |
Both Azure DevOps and GitHub Actions mention supporting Arm64 but only for self-hosted images. Not supporting them here means one would have to start over with a fresh image, which is a lot of work.
Being able to create an Arm64 image and deploy to scale set agents (at least on DevOps, unsure if GH supports it) at least makes the maintenance manageable.
The text was updated successfully, but these errors were encountered: