Skip to content
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

Provide an arm64 image on Docker Hub #109

Closed
Tomaszal opened this issue Jan 23, 2023 · 6 comments · Fixed by #110
Closed

Provide an arm64 image on Docker Hub #109

Tomaszal opened this issue Jan 23, 2023 · 6 comments · Fixed by #110

Comments

@Tomaszal
Copy link
Contributor

Could you possibly provide an arm64 image on Docker Hub? Right now I am able to use this project on an arm64 system, but I need to build it myself, which is less convenient. It also requires a few changes to build successfully due to grpcio limitations. There are 2 options:

  1. Add linux-headers package before installing the requirements, as it's needed to build the grpico wheels which are not available for arm64 alpine/musl systems. Unfortunately, while this works, it takes a very long time to build.
  2. Switch to a slim-buster base python image instead of alpine, which has the necessary wheels pre-built already. While the resulting image will be larger, the build time is much smaller.

For a single use (i.e. building manually) the 2nd option makes more sense. However, if add an arm64 image build as part of CI/CD for Docker Hub (not sure how it's set up here) the 1st option is probably better.

@glpatcern
Copy link
Member

Hi there, could you please elaborate on how you're currently using this project in your system? Do you also use Reva or do you use local storage?
Currently we do not support arm64, but a priori it is not complex to extend the CI for this build, especially now that it is based on standard GitHub actions.

@Tomaszal
Copy link
Contributor Author

Tomaszal commented Feb 1, 2023

Hi, I'm using wopiserver for OwnCloud Infinite Scale integration setup as shown in this example docker-compose. It does seem to use Reva, although I'm not too sure how it works in general. Everything else in that setup provides arm64 images, the only thing that currently needs to be build manually is wopiserver.

@glpatcern
Copy link
Member

I see, indeed you're using Reva behind oCIS.

I'd invite you to extend the release.yml CI script to build an extra image on top of the 2 existing ones, maybe only on tags (so even if it takes a long time it's not for every single commit). As said arm64 is currently not supported and we don't plan to make and test such build, but I'm happy to review a PR for it.

@Tomaszal
Copy link
Contributor Author

Tomaszal commented Feb 4, 2023

I've submitted the PRs of my attempt, not sure if it's correct as I've never worked with GitHub CI before and wasn't able to test it.

Also, since opening this issue I've actually switched the oCIS host to a x86 host, as the arm64 host I had was not powerful enough to run it well. Hopefully the PRs work well, but if not, perhaps someone else can take over them in the future if they need an arm64 image.

@micbar
Copy link
Member

micbar commented Feb 5, 2023

@Tomaszal
Copy link
Contributor Author

Tomaszal commented Feb 6, 2023

Hi @micbar, I'm aware that oCIS already has an ARM image and it works great on its own. However, as I understand, an ARM wopiserver image is still needed to integrate OnlyOffice/Collabora with oCIS, as shown in this example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants