dockerized-kiwix-server icon indicating copy to clipboard operation
dockerized-kiwix-server copied to clipboard

Support non x86 architectures when building (ARM for example)

Open jcollas opened this issue 2 years ago • 3 comments
trafficstars

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

jcollas avatar May 23 '23 15:05 jcollas

@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

kelson42 avatar May 23 '23 15:05 kelson42

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.

jcollas avatar May 23 '23 15:05 jcollas

@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

kelson42 avatar May 24 '23 07:05 kelson42