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
<https://github.com/jhillyerd/perkeep-docker/blob/develop/Dockerfile> and
the template
<https://github.com/jhillyerd/perkeep-docker/blob/develop/run-perkeep.sh#L17>
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.

If you'd like to try the image out for yourself without building it, it's
available at https://hub.docker.com/r/jhillyerd/perkeep/  Currently both
:stable and :latest tags fetch Perkeep 2017-05-05, but I plan to move
:latest to a newer version in the future.  Github repo:
https://github.com/jhillyerd/perkeep-docker

Happy to contribute any/all back to the official project if people find it
useful.

-james

-- 
You received this message because you are subscribed to the Google Groups 
"Camlistore" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to