3
0
Fork 0

ADD Arm Docker

master
Sebastian Rojo 6 years ago
parent a365c1e720
commit 7e0805f1c1

@ -0,0 +1,15 @@
FROM arm32v7/alpine:latest
LABEL maintainer Sebastian Rojo <sebastian.rojo@sapian.com.co>
# Install kiwix-serve
WORKDIR /
RUN apk add --no-cache curl bzip2
RUN curl -kL https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-armhf-3.0.1-1.tar.gz | tar -xz && \
mv kiwix-tools*/* /usr/local/bin && \
rm -r kiwix-tools*
# Run kiwix-serve
EXPOSE 80
VOLUME /data
WORKDIR /data
ENTRYPOINT ["/usr/local/bin/kiwix-serve", "--port", "80"]

@ -0,0 +1,13 @@
kiwix-serve Docker image
========================
* Download a ZIM file from <https://wiki.kiwix.org/wiki/Content>
* Given `wikipedia.zim` resides in `/tmp/zim/`, execute the following:
```
docker run -v /tmp/zim:/data -p 8080:80 kiwix/kiwix-serve wikipedia.zim
```
![screenshot_1.png](https://github.com/kiwix/kiwix-tools/raw/master/docker/server/pictures/screenshot_1.png)
![screenshot_2.png](https://github.com/kiwix/kiwix-tools/raw/master/docker/server/pictures/screenshot_2.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Loading…
Cancel
Save