rethinkdb-dockerfiles
rethinkdb-dockerfiles copied to clipboard
Packaging from scratch
I'm thinking - if this is feasible, which I'm led to believe it is - the official images could use multi-stage builds to build the binary from source using Ubuntu, then package it in an image FROM scratch, which would be even more minimal than using whatever version is packaged with Alpine (#32),
Just so you have a reference to multi-stage build support in Official Images: https://github.com/docker-library/official-images/issues/3383.
Here's a Dockerfile that builds RethinkDB from scratch for Alpine and a Debian version would be pretty close as well: https://github.com/rethinkdb/rethinkdb-dockerfiles/issues/32#issuecomment-297428635