Does the Docker image support Raspberry Pi (ARM)?
I'm looking to add this to my RPi server. Will the Docker image work on this? Are there any processes that may fail?
The docker image is based on alpine 3.7 which is x86_64. I guess that if you want to support RPi you would need to use arm image (first line in the dockerfile)
Hmm. That's a good point. It'd be nice to be able to have different images for different architectures. @addadi, is that easy to do in Dockerland? Would you normally do it as a separate repo, or different directory, or...?
It shouldn't be too hard to add an official dockerfile. For example netdata does this. You just pull the respective tag and it uses the appropriate dockerfile.
Ah, interesting. They just suffix the file with the architecture: Dockerfile.armv7hf for example. @crouthamela if you wanna send me a pull request with this sort of thing working for your Pi, I'll merge it and add it to the official Hub page.
@crouthamela Did you ever ending up building an image for your RPi? If you built a working container, submit a PR with your Dockerfile here and it can probably be wired up with Travis-CI and DockerHub.
No, sorry. I ended up upgrading to a NUC.
Are there any news on this topic? Does a docker file exist for raspberry pi?
Have you tried it? I have it running on my raspberrypi 4 and a RockPi4 - for the latter, my only issue was getting docker and docker-compose compiled for arm64v8. On the raspberrypi 4 running raspian buster it just worked out of the box.
Are there any plans to add an official paperless docker image for arm32v7? I have made my own Dockerfile which basically just changes the first line to use the arm32v7 version of alpine (see my fork). I used this image successfully on my Pi 3B+.
We could use buildx to create multi-platform images. The build seems to work fine locally via
docker buildx build -t xyz/paperless:latest --platform linux/amd64,linux/arm64,linux/arm/v7 .
Unfortunately this doesn't yet work with automated docker hub builds, but I wanted to play around with GitHub actions anyhow. I'll give it a try and post an update here.