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

Support non x86 architectures when building (ARM for example) #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jcollas
Copy link

@jcollas jcollas commented May 23, 2023

Tiny patch which allows building image that works on ARM (Apple M1, Raspberry Pi). Makes it easy to build multi-architecture docker images.

@kelson42
Copy link

kelson42 commented May 23, 2023

@jcollas If you just want to download the latest version, using the permalink is probably better. Here is the permalink for x86_64 architecture https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-x86_64.tar.gz

Official kiwix-serve Docker image supports as well ARM architectures, see https://github.com/kiwix/kiwix-tools/pkgs/container/kiwix-serve

@jcollas
Copy link
Author

jcollas commented May 23, 2023

Oh heck, that's way better! Thanks for the link (I had searched hub.docker.com, and didn't find it). Although the official image doesn't load up a directory of zim files like this repo does, hm.

@kelson42
Copy link

@jcollas You can load all the ZIM in a directory using globbing. I have just updated the README.md so it becomes clearer https://github.com/kiwix/kiwix-tools/tree/main/docker/server

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 this pull request may close these issues.

2 participants