[ https://issues.apache.org/jira/browse/YUNIKORN-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493551#comment-17493551 ]
Wilfred Spiegelenburg commented on YUNIKORN-725: ------------------------------------------------ We do not need a new environment for this. With the [docker buildx|https://docs.docker.com/buildx/working-with-buildx/] tool as pointed out by Holden we can do this from a linux host or even Mac laptop. We just need to update the build commands for the images. The docker blog describes this [here|https://www.docker.com/blog/multi-platform-docker-builds/]. Docker Desktop for Mac comes with docker buildx and is free to use for a developer working on an open source project (**caveats apply based on your employer ect) For us that means we need to: * generate a binary using a cross compilation by specifying GOOS & GOARCH * update the Makefile to use buildx * build on a machine that has buildx, for both release and github actions The current PR workflow uses the latest ubuntu release as the OS. According to github action tool support for [ubuntu latest|https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md] we have docker buildx as a build tool available. It should thus not break our PR workflow either. We only need to generate multiple docker images during the release cycle. Allowing a user to build an image for another platform from the source release should also be possible. So as long a the config in the shim allows us to easily do that and does not break our PR workflow I do not see why we cannot build that into the base Makefiles. We do need some help with this [~srisco]. I assume there are more people around that could help out if we get stuck somewhere. > Support arm64 > ------------- > > Key: YUNIKORN-725 > URL: https://issues.apache.org/jira/browse/YUNIKORN-725 > Project: Apache YuniKorn > Issue Type: Improvement > Reporter: Holden Karau > Priority: Major > > It would be good to support arm64, this is probably not too painful and can > be done by swapping docker build with docker buildx, but there's often edge > cases where some code changes are needed. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org