oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.33k stars 746 forks source link

Create opengrok docker image for arm64 #3948

Open santhu3064 opened 2 years ago

santhu3064 commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently all official docker images are of amd64. Can an official opengrok docker image run open grok on arm64 arch machines will be published?

Describe the solution you'd like

Create docker image to based on Linux arm64 arch

Describe alternatives you've considered

Additional context

Looking to run opengrok docker container on arm64 arch machines

vladak commented 2 years ago

The Github Actions virtual environments currently support x64 machines only: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources (Standard_DS2_v2 virtual machines in Microsoft Azure is all Intel Xeon) and the https://github.com/actions/virtual-environments/issues/2552 tracking the addition of arm64 environments remains closed due to Azure limitation.

Although self-hosted arm{,64} runners seem to be possible, this is not the level of complexity I'd like to get into at this point.

santhu3064 commented 2 years ago

@vladak Thank you for the update. Are you going to consider this in the near future? Can this feature will be open?

vladak commented 2 years ago

Sure, this is valid request. I'd like to have arm64 OpenGrok Docker images myself. It's just I don't want to invest the resources into the automated arm/arm64 image builds right now.

der-eismann commented 2 years ago

It's actually pretty easy to build multiarch images on GitHub actions, it just might take a while: https://blog.oddbit.com/post/2020-09-25-building-multi-architecture-im/

vladak commented 2 years ago

It's actually pretty easy to build multiarch images on GitHub actions, it just might take a while: https://blog.oddbit.com/post/2020-09-25-building-multi-architecture-im/

Thanks for the link. Building in Qemu is certainly a possibility.