rethinkdb-dockerfiles icon indicating copy to clipboard operation
rethinkdb-dockerfiles copied to clipboard

Packaging from scratch

Open stuartpb opened this issue 7 years ago • 2 comments
trafficstars

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),

stuartpb avatar Jan 06 '18 11:01 stuartpb

Just so you have a reference to multi-stage build support in Official Images: https://github.com/docker-library/official-images/issues/3383.

yosifkit avatar Jan 09 '18 21:01 yosifkit

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

daveisfera avatar May 18 '18 20:05 daveisfera