Hi! Long time gopher first time keeper.
I wanted to run Perkeep on my NAS (intel based QNAP), which supports Linux containers. Unfortunately, I found that the official Perkeep Docker builds are focused on integration tests and would be hard to setup as an automated build on hub.docker.com
Thus, I created a new multi-stage Docker build, plus a bit of bash and Go to create the initial server-config.json and PGP key -- making it easy for people to get started. For those that aren't aware, multi-stage means that perkeep is built inside one container with all the compiler tools, then installed into a much smaller one. The final image is about 44MB.
I'd appreciate it if folks could sanity check both the Dockerfile
and the template
I'm using for the server-config.json. I'm not clear on if Perkeep benefits from dependencies beyond libjpeg-turbo-utils, please let me know if there is any others I should add.
Happy to contribute any/all back to the official project if people find it useful.